From 03fd6dceda7d802c7c3fe0bde83df2586e5e836d Mon Sep 17 00:00:00 2001 From: Ta-wei Yen Date: Wed, 11 Nov 2015 11:21:50 -0800 Subject: Tweak block number UI Bug:25455707 Change-Id: I374a200d1332addfb321dd16eb52b779c3754159 --- res/layout/blocked_number_footer.xml | 23 +++--- res/layout/blocked_number_header.xml | 149 +++++++++++++++++++---------------- res/layout/blocked_number_item.xml | 21 +++-- res/values/colors.xml | 6 +- res/values/dimens.xml | 5 +- res/values/strings.xml | 8 +- res/values/styles.xml | 2 +- 7 files changed, 112 insertions(+), 102 deletions(-) (limited to 'res') diff --git a/res/layout/blocked_number_footer.xml b/res/layout/blocked_number_footer.xml index cdb3ead1b..17425c840 100644 --- a/res/layout/blocked_number_footer.xml +++ b/res/layout/blocked_number_footer.xml @@ -14,27 +14,24 @@ limitations under the License. --> - - + android:orientation="vertical" + android:padding="@dimen/blocked_number_container_padding" + android:background="@android:color/white" + android:focusable="true"> + diff --git a/res/layout/blocked_number_header.xml b/res/layout/blocked_number_header.xml index 685c4efd8..0af942943 100644 --- a/res/layout/blocked_number_header.xml +++ b/res/layout/blocked_number_header.xml @@ -17,31 +17,34 @@ xmlns:card_view="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical" - android:focusable="false"> + android:focusable="false" + android:orientation="vertical"> - + android:text="@string/blocked_numbers_disabled_emergency_header_label"/> + android:text="@string/blocked_numbers_disabled_emergency_desc"/> @@ -53,94 +56,104 @@ + android:focusable="true" + android:orientation="vertical"> - + android:textColor="@color/blocked_number_header_color"/> - - + android:text="@string/blocked_call_settings_import_description" + android:textColor="@color/secondary_text_color" + android:textSize="@dimen/blocked_number_settings_description_text_size"/> -