summaryrefslogtreecommitdiffstats
path: root/res/layout-w470dp
diff options
context:
space:
mode:
authorKatherine Kuan <katherinekuan@google.com>2011-08-22 10:06:20 -0700
committerKatherine Kuan <katherinekuan@google.com>2011-08-22 14:26:03 -0700
commitf5f8430538efb5636bdd2385f742ec1b23d10b17 (patch)
tree6b9af8f408c014ade5fcca2a5179da0b431a2ff8 /res/layout-w470dp
parent9c747ac625d212a10176082fba6b087035f5d144 (diff)
downloadpackages_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.xml4
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"