From 7dfbd2e14d54b1f1290560d75b8024290e299410 Mon Sep 17 00:00:00 2001 From: Tony Mantler Date: Wed, 5 Mar 2014 16:36:49 -0800 Subject: [PATCH] Add gradient to background of account setup flow. I can't see the difference, can you see the difference? b/13307488 Change-Id: I836a407c058286546df149709eef8392b854d07c --- res/drawable/account_setup_background.xml | 22 ++++++++++++++++++++++ res/layout-sw600dp-land/account_setup.xml | 3 ++- res/layout-sw600dp-port/account_setup.xml | 5 +++-- res/layout/account_setup.xml | 21 +++++++++++---------- 4 files changed, 38 insertions(+), 13 deletions(-) create mode 100644 res/drawable/account_setup_background.xml diff --git a/res/drawable/account_setup_background.xml b/res/drawable/account_setup_background.xml new file mode 100644 index 000000000..624cf78a3 --- /dev/null +++ b/res/drawable/account_setup_background.xml @@ -0,0 +1,22 @@ + + + + + \ No newline at end of file diff --git a/res/layout-sw600dp-land/account_setup.xml b/res/layout-sw600dp-land/account_setup.xml index 1c4f7fa11..9e6fbe968 100644 --- a/res/layout-sw600dp-land/account_setup.xml +++ b/res/layout-sw600dp-land/account_setup.xml @@ -17,7 +17,8 @@ + android:layout_height="match_parent" + android:background="@drawable/account_setup_background" > + android:fillViewport="true" + android:background="@drawable/account_setup_background" > diff --git a/res/layout/account_setup.xml b/res/layout/account_setup.xml index 6d8a0f625..e6df7efd7 100644 --- a/res/layout/account_setup.xml +++ b/res/layout/account_setup.xml @@ -18,7 +18,8 @@ + android:fillViewport="true" + android:background="@drawable/account_setup_background" > + android:id="@+id/headline" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:text="@string/account_setup_options_headline" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="?android:attr/textColorPrimary" /> + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="1"/>