Better size for assigned picker rows

pull/14/head
Sam Bosley 13 years ago
parent 1e3006bde7
commit 6168534e0a

@ -569,13 +569,13 @@ public class EditPeopleControlSet extends PopupControlSet {
}
});
assignedCustom.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);
fragment.startActivityForResult(intent, TaskEditFragment.REQUEST_CODE_CONTACT);
}
});
// assignedCustom.setOnClickListener(new OnClickListener() {
// @Override
// public void onClick(View v) {
// Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);
// fragment.startActivityForResult(intent, TaskEditFragment.REQUEST_CODE_CONTACT);
// }
// });
}
// --- events

@ -2,12 +2,12 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="8dip">
<com.todoroo.astrid.helper.AsyncImageView android:id="@+id/person_image"
android:layout_width="40dip"
android:layout_height="44dip"
android:layout_width="35dip"
android:layout_height="35dip"
android:gravity="center"
android:layout_gravity="center_vertical"
android:scaleType="fitCenter"
@ -15,8 +15,8 @@
<CheckedTextView
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_height="wrap_content"
style="@style/TextAppearance.TEA_assigned"
android:textColor="?attr/asTextColor"
android:gravity="center_vertical"
android:checkMark="?android:attr/listChoiceIndicatorSingle"

@ -33,6 +33,5 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="100"/>
<include layout="@layout/control_dialog_ok"/>
</LinearLayout>

@ -288,6 +288,10 @@
<style name="TextAppearance.GEN_EditLabel.DLG_EditLabel">
</style>
<style name="TextAppearance.TEA_assigned">
<item name="android:textSize">18sp</item>
</style>
<style name="Theme.WhenDialog">
<item name="android:windowAnimationStyle">@style/TEA_WhenDialog_Anim</item>

Loading…
Cancel
Save