diff options
author | Katherine Kuan <katherinekuan@google.com> | 2011-08-22 10:06:20 -0700 |
---|---|---|
committer | Katherine Kuan <katherinekuan@google.com> | 2011-08-22 14:26:03 -0700 |
commit | f5f8430538efb5636bdd2385f742ec1b23d10b17 (patch) | |
tree | 6b9af8f408c014ade5fcca2a5179da0b431a2ff8 /res/layout-w470dp | |
parent | 9c747ac625d212a10176082fba6b087035f5d144 (diff) | |
download | packages_apps_Contacts-f5f8430538efb5636bdd2385f742ec1b23d10b17.tar.gz packages_apps_Contacts-f5f8430538efb5636bdd2385f742ec1b23d10b17.tar.bz2 packages_apps_Contacts-f5f8430538efb5636bdd2385f742ec1b23d10b17.zip |
Fix group source crash on phone
- The group source button is supposed to be a scrolling header
in the list of group members on the phone portrait view, but
we can't add a header view to a ListView after the adapter is set.
(Setting the adapter had to be moved before setting the header
view otherwise the group detail page would flicker on every
sync).
- Make the header static as a simplification and hide the view
if there's no group source needed.
- Remove fading edge on group members list
Bug: 5195472
Change-Id: Ibedc629ddd85a54ed8beee92650df617a09d2a6c
Diffstat (limited to 'res/layout-w470dp')
-rw-r--r-- | res/layout-w470dp/group_source_button.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/res/layout-w470dp/group_source_button.xml b/res/layout-w470dp/group_source_button.xml index b725512bc..4e8838ec3 100644 --- a/res/layout-w470dp/group_source_button.xml +++ b/res/layout-w470dp/group_source_button.xml @@ -42,7 +42,9 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:textAppearance="?android:attr/textAppearanceMedium" - android:text="@string/view_updates_from_group"/> + android:textColor="@color/action_bar_button_text_color" + android:text="@string/view_updates_from_group" + style="@android:style/Widget.Holo.ActionBar.TabText"/> <ImageView android:id="@android:id/icon" |