summaryrefslogtreecommitdiffstats
path: root/res/layout/group_browse_list_account_header.xml
diff options
context:
space:
mode:
authorKatherine Kuan <katherinekuan@google.com>2011-07-25 15:24:56 -0700
committerKatherine Kuan <katherinekuan@google.com>2011-07-25 16:27:20 -0700
commit1866a071adb9a64112524b2f4836766f7e655123 (patch)
treef9a21e90b6e0836115fb995eb7ee66b6b026ff1f /res/layout/group_browse_list_account_header.xml
parent39256cd2c09b6d2db55c8482b86525d4528b47da (diff)
downloadpackages_apps_Contacts-1866a071adb9a64112524b2f4836766f7e655123.tar.gz
packages_apps_Contacts-1866a071adb9a64112524b2f4836766f7e655123.tar.bz2
packages_apps_Contacts-1866a071adb9a64112524b2f4836766f7e655123.zip
Use group count per account column for group list
- Show the # of groups that fall into a specific account name and account type - Make sure group count does not get cut off on phone portrait by ellipsizing the account name if necessary Bug: 5039532 Change-Id: I0420ad426cdd189313d710931339fb06ec766607
Diffstat (limited to 'res/layout/group_browse_list_account_header.xml')
-rw-r--r--res/layout/group_browse_list_account_header.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/res/layout/group_browse_list_account_header.xml b/res/layout/group_browse_list_account_header.xml
index 73684c154..7c07497a0 100644
--- a/res/layout/group_browse_list_account_header.xml
+++ b/res/layout/group_browse_list_account_header.xml
@@ -38,20 +38,22 @@
<TextView
android:id="@+id/account_name"
- android:layout_width="wrap_content"
+ android:layout_width="0dip"
android:layout_height="wrap_content"
+ android:layout_weight="1"
android:layout_marginLeft="@dimen/group_list_header_padding"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
+ android:ellipsize="middle"
android:textColor="@color/people_app_theme_color"/>
<TextView
android:id="@+id/group_count"
- android:layout_width="0dip"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="1"
android:gravity="right"
android:singleLine="true"
+ android:layout_marginLeft="@dimen/group_list_header_padding"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorTertiary"/>