From 206a8457102c1a442b95609137998d32cc637974 Mon Sep 17 00:00:00 2001 From: Anna Galusza Date: Fri, 5 Feb 2016 17:52:49 -0800 Subject: [PATCH] Change style of Preview screens (dark borders with "preview" on the bottom). Change-Id: I754a3fd4de47ef74a3a79e410890133de9e0d095 --- res/drawable/preview_seek_bar_outline.xml | 22 ++++ res/layout/font_size_activity.xml | 130 ++++++++++----------- res/layout/font_size_preview.xml | 1 + res/layout/preview_seek_bar_view_pager.xml | 50 ++++++++ res/layout/screen_zoom_activity.xml | 128 ++++++++++---------- res/layout/screen_zoom_preview_1.xml | 91 +++++---------- res/layout/screen_zoom_preview_2.xml | 91 +++++---------- res/values/colors.xml | 4 + 8 files changed, 270 insertions(+), 247 deletions(-) create mode 100644 res/drawable/preview_seek_bar_outline.xml create mode 100644 res/layout/preview_seek_bar_view_pager.xml diff --git a/res/drawable/preview_seek_bar_outline.xml b/res/drawable/preview_seek_bar_outline.xml new file mode 100644 index 00000000000..acf92ef1edd --- /dev/null +++ b/res/drawable/preview_seek_bar_outline.xml @@ -0,0 +1,22 @@ + + + + + + diff --git a/res/layout/font_size_activity.xml b/res/layout/font_size_activity.xml index 479a5f5412f..85c81be2c1a 100644 --- a/res/layout/font_size_activity.xml +++ b/res/layout/font_size_activity.xml @@ -22,79 +22,79 @@ + android:layout_height="wrap_content" > - - - - - + + android:paddingTop="16dp" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> - + - + - + + + + + + + + + + - - diff --git a/res/layout/font_size_preview.xml b/res/layout/font_size_preview.xml index 5f2b10ff688..3959b15c7c8 100644 --- a/res/layout/font_size_preview.xml +++ b/res/layout/font_size_preview.xml @@ -17,6 +17,7 @@ + + + + + + + + + + + diff --git a/res/layout/screen_zoom_activity.xml b/res/layout/screen_zoom_activity.xml index 47c6b19c1df..4d3ab39069a 100644 --- a/res/layout/screen_zoom_activity.xml +++ b/res/layout/screen_zoom_activity.xml @@ -22,78 +22,78 @@ + android:layout_height="wrap_content" > - - - - - + + android:paddingTop="16dp" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> - + - + - + + + + + + + + + + - - diff --git a/res/layout/screen_zoom_preview_1.xml b/res/layout/screen_zoom_preview_1.xml index 7cdb6639e7f..6762590f146 100644 --- a/res/layout/screen_zoom_preview_1.xml +++ b/res/layout/screen_zoom_preview_1.xml @@ -14,72 +14,45 @@ limitations under the License. --> - + + android:layout_height="wrap_content" + android:orientation="vertical"> + android:layout_marginTop="16dp" + android:text="@string/permissions_label" /> + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + diff --git a/res/layout/screen_zoom_preview_2.xml b/res/layout/screen_zoom_preview_2.xml index 7cdb6639e7f..6762590f146 100644 --- a/res/layout/screen_zoom_preview_2.xml +++ b/res/layout/screen_zoom_preview_2.xml @@ -14,72 +14,45 @@ limitations under the License. --> - + + android:layout_height="wrap_content" + android:orientation="vertical"> + android:layout_marginTop="16dp" + android:text="@string/permissions_label" /> + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + diff --git a/res/values/colors.xml b/res/values/colors.xml index 579cd9eb7f5..1e0927eb02b 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -111,4 +111,8 @@ #4285F4 #3367D6 + #fff + + #CC000000 +