Loading res/layout/join_contact_picker_section_header.xml +5 −4 Original line number Diff line number Diff line Loading @@ -23,8 +23,9 @@ <TextView android:id="@+id/text" style="@style/ContactListSeparatorTextViewStyle" android:paddingLeft="8dip" android:paddingRight="8dip" android:paddingStart="8dip" android:paddingEnd="8dip" /> android:textAlignment="viewStart" android:paddingLeft="24dip" android:paddingRight="24dip" android:paddingStart="24dip" android:paddingEnd="24dip"/> </LinearLayout> res/values/dimens.xml +2 −2 Original line number Diff line number Diff line Loading @@ -148,8 +148,8 @@ <!-- For join screen. Mainly for tablet. --> <dimen name="join_header_left_margin">@dimen/contact_browser_list_header_left_margin</dimen> <dimen name="join_header_right_margin">@dimen/contact_browser_list_header_right_margin</dimen> <dimen name="join_header_top_margin">16dip</dimen> <dimen name="join_header_bottom_margin">0dip</dimen> <dimen name="join_header_top_margin">12dip</dimen> <dimen name="join_header_bottom_margin">12dip</dimen> <dimen name="contact_filter_header_min_height">24dip</dimen> Loading src/com/android/contacts/list/JoinContactListFragment.java +1 −1 Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ public class JoinContactListFragment extends ContactEntryListFragment<JoinContac @Override public JoinContactListAdapter createListAdapter() { JoinContactListAdapter adapter = new JoinContactListAdapter(getActivity()); adapter.setPhotoPosition(ContactListItemView.getDefaultPhotoPosition(true /* opposite */)); adapter.setPhotoPosition(ContactListItemView.getDefaultPhotoPosition(false /* opposite */)); return adapter; } Loading src/com/android/contacts/list/MultiSelectEmailAddressesListAdapter.java +0 −11 Original line number Diff line number Diff line Loading @@ -160,7 +160,6 @@ public class MultiSelectEmailAddressesListAdapter extends MultiSelectEntryContac cursor.moveToPosition(position); bindViewId(view, cursor, EmailQuery.EMAIL_ID); bindSectionHeaderAndDivider(view, position); if (isFirstEntry) { bindName(view, cursor); bindQuickContact(view, partition, cursor, EmailQuery.PHOTO_ID, Loading Loading @@ -190,16 +189,6 @@ public class MultiSelectEmailAddressesListAdapter extends MultiSelectEntryContac view.showData(cursor, EmailQuery.EMAIL_ADDRESS); } protected void bindSectionHeaderAndDivider(final ContactListItemView view, int position) { final int section = getSectionForPosition(position); if (getPositionForSection(section) == position) { final String title = (String)getSections()[section]; view.setSectionHeader(title); } else { view.setSectionHeader(null); } } protected void bindName(final ContactListItemView view, Cursor cursor) { view.showDisplayName(cursor, EmailQuery.DISPLAY_NAME, getContactNameDisplayOrder()); } Loading src/com/android/contacts/list/MultiSelectEmailAddressesListFragment.java +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ public class MultiSelectEmailAddressesListFragment public MultiSelectEmailAddressesListFragment() { setPhotoLoaderEnabled(true); setSectionHeaderDisplayEnabled(true); setSectionHeaderDisplayEnabled(false); setSearchMode(false); setHasOptionsMenu(true); setListType(ListEvent.ListType.PICK_EMAIL); Loading Loading
res/layout/join_contact_picker_section_header.xml +5 −4 Original line number Diff line number Diff line Loading @@ -23,8 +23,9 @@ <TextView android:id="@+id/text" style="@style/ContactListSeparatorTextViewStyle" android:paddingLeft="8dip" android:paddingRight="8dip" android:paddingStart="8dip" android:paddingEnd="8dip" /> android:textAlignment="viewStart" android:paddingLeft="24dip" android:paddingRight="24dip" android:paddingStart="24dip" android:paddingEnd="24dip"/> </LinearLayout>
res/values/dimens.xml +2 −2 Original line number Diff line number Diff line Loading @@ -148,8 +148,8 @@ <!-- For join screen. Mainly for tablet. --> <dimen name="join_header_left_margin">@dimen/contact_browser_list_header_left_margin</dimen> <dimen name="join_header_right_margin">@dimen/contact_browser_list_header_right_margin</dimen> <dimen name="join_header_top_margin">16dip</dimen> <dimen name="join_header_bottom_margin">0dip</dimen> <dimen name="join_header_top_margin">12dip</dimen> <dimen name="join_header_bottom_margin">12dip</dimen> <dimen name="contact_filter_header_min_height">24dip</dimen> Loading
src/com/android/contacts/list/JoinContactListFragment.java +1 −1 Original line number Diff line number Diff line Loading @@ -146,7 +146,7 @@ public class JoinContactListFragment extends ContactEntryListFragment<JoinContac @Override public JoinContactListAdapter createListAdapter() { JoinContactListAdapter adapter = new JoinContactListAdapter(getActivity()); adapter.setPhotoPosition(ContactListItemView.getDefaultPhotoPosition(true /* opposite */)); adapter.setPhotoPosition(ContactListItemView.getDefaultPhotoPosition(false /* opposite */)); return adapter; } Loading
src/com/android/contacts/list/MultiSelectEmailAddressesListAdapter.java +0 −11 Original line number Diff line number Diff line Loading @@ -160,7 +160,6 @@ public class MultiSelectEmailAddressesListAdapter extends MultiSelectEntryContac cursor.moveToPosition(position); bindViewId(view, cursor, EmailQuery.EMAIL_ID); bindSectionHeaderAndDivider(view, position); if (isFirstEntry) { bindName(view, cursor); bindQuickContact(view, partition, cursor, EmailQuery.PHOTO_ID, Loading Loading @@ -190,16 +189,6 @@ public class MultiSelectEmailAddressesListAdapter extends MultiSelectEntryContac view.showData(cursor, EmailQuery.EMAIL_ADDRESS); } protected void bindSectionHeaderAndDivider(final ContactListItemView view, int position) { final int section = getSectionForPosition(position); if (getPositionForSection(section) == position) { final String title = (String)getSections()[section]; view.setSectionHeader(title); } else { view.setSectionHeader(null); } } protected void bindName(final ContactListItemView view, Cursor cursor) { view.showDisplayName(cursor, EmailQuery.DISPLAY_NAME, getContactNameDisplayOrder()); } Loading
src/com/android/contacts/list/MultiSelectEmailAddressesListFragment.java +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ public class MultiSelectEmailAddressesListFragment public MultiSelectEmailAddressesListFragment() { setPhotoLoaderEnabled(true); setSectionHeaderDisplayEnabled(true); setSectionHeaderDisplayEnabled(false); setSearchMode(false); setHasOptionsMenu(true); setListType(ListEvent.ListType.PICK_EMAIL); Loading