Add gradient to background of account setup flow.

I can't see the difference, can you see the difference?

b/13307488

Change-Id: I836a407c058286546df149709eef8392b854d07c
This commit is contained in:
Tony Mantler 2014-03-05 16:36:49 -08:00
parent 19b7e95d64
commit 7dfbd2e14d
4 changed files with 38 additions and 13 deletions

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:angle="90"
android:startColor="#f8f8f8"
android:endColor="#ececec" />
</shape>

View File

@ -17,7 +17,8 @@
<!-- Account Setup Layout - XL - landscape - see layout/ for small-screen version -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:background="@drawable/account_setup_background" >
<RelativeLayout
android:layout_width="match_parent"

View File

@ -18,7 +18,8 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true" >
android:fillViewport="true"
android:background="@drawable/account_setup_background" >
<LinearLayout
android:layout_width="match_parent"
@ -49,7 +50,7 @@
<include layout="@layout/account_setup_fragment_container" />
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
<!-- Buttons below that -->

View File

@ -18,7 +18,8 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true" >
android:fillViewport="true"
android:background="@drawable/account_setup_background" >
<LinearLayout
android:layout_width="match_parent"
@ -30,17 +31,17 @@
<!-- Headline -->
<!-- Set headline for first fragment, change in code as we progress through screens -->
<TextView
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: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" />
<include layout="@layout/account_setup_fragment_container"/>
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"/>
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
<include layout="@layout/account_setup_buttons"/>
</LinearLayout>
</ScrollView>