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() { // assignedCustom.setOnClickListener(new OnClickListener() {
@Override // @Override
public void onClick(View v) { // public void onClick(View v) {
Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI); // Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);
fragment.startActivityForResult(intent, TaskEditFragment.REQUEST_CODE_CONTACT); // fragment.startActivityForResult(intent, TaskEditFragment.REQUEST_CODE_CONTACT);
} // }
}); // });
} }
// --- events // --- events

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

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

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

Loading…
Cancel
Save