summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2014-03-05 22:05:58 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-03-05 22:05:58 +0000
commit49a96b63c4b38b9840f1b0622b10c2ab192571c4 (patch)
treea5ecc054a9fd5828ed4231b50c141bc5b93a5844 /res/layout
parent6cb95da2b6c037a612cedd738c56021e01da3d36 (diff)
parent950e3ebcf8059cb6fc2ce0d3a4e1df29be4540db (diff)
downloadandroid_packages_apps_Dialer-49a96b63c4b38b9840f1b0622b10c2ab192571c4.tar.gz
android_packages_apps_Dialer-49a96b63c4b38b9840f1b0622b10c2ab192571c4.tar.bz2
android_packages_apps_Dialer-49a96b63c4b38b9840f1b0622b10c2ab192571c4.zip
Merge "Restricted the tap target for "All Contacts" to the "All Contacts" button alone,"
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/phone_favorites_menu.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/res/layout/phone_favorites_menu.xml b/res/layout/phone_favorites_menu.xml
index 5f7a5a630..387ea5b3f 100644
--- a/res/layout/phone_favorites_menu.xml
+++ b/res/layout/phone_favorites_menu.xml
@@ -25,8 +25,7 @@
android:paddingRight="@dimen/favorites_menu_padding_horizontal"
android:paddingTop="@dimen/favorites_menu_padding_top"
android:paddingBottom="@dimen/favorites_menu_padding_bottom"
- android:background="@drawable/background_favorites_menu"
- android:addStatesFromChildren="true"
+ android:background="@color/favorites_menu_background_color"
>
<TextView
android:layout_width="wrap_content"
@@ -39,7 +38,7 @@
android:layout_centerVertical="true"
android:gravity="center"
/>
- <TextView
+ <Button
android:id="@+id/all_contacts_button"
android:fontFamily="@string/favorites_menu_all_contacts_font_family"
android:layout_width="wrap_content"
@@ -48,11 +47,10 @@
android:paddingRight="@dimen/favorites_menu_padding_horizontal"
android:text="@string/favorites_menu_all_contacts"
android:textSize="@dimen/favorites_menu_all_contacts_text_size"
- android:background="@color/all_contacts_button_color"
+ android:background="@drawable/background_all_contacts"
android:textColor="@color/all_contacts_button_text_color"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:gravity="center"
- android:focusable="true"
/>
</RelativeLayout> \ No newline at end of file