From 0dae4d3ffb65eb23d5a2ea19acd4603cfba914cd Mon Sep 17 00:00:00 2001 From: Martin Hibdon Date: Tue, 22 Apr 2014 14:02:18 -0700 Subject: [PATCH] Update a bunch of layouts b/14169396 Swap the positions of the headline text and email image on account setup basics b/14257403 Swap the positions of the password and "signed in with XXX" button on the credentials fragment b/14255447 Adjust padding to fix a number of alignment issues. Change-Id: I011e259a86123cf205d86407def2ff774744e005 --- .../account_setup_basics_fragment.xml | 9 +++++++ .../account_setup_incoming_fragment.xml | 3 ++- res/layout-w600dp/authentication_view.xml | 1 + res/layout/account_setup_basics_fragment.xml | 7 ++++++ .../account_setup_credentials_fragment.xml | 24 +++++++++---------- res/layout/authentication_view.xml | 9 +++++-- res/layout/client_certificate_selector.xml | 2 -- res/layout/password_selector.xml | 4 ++-- res/values-ldrtl/styles-ldrtl.xml | 6 +++++ res/values-w600dp/dimensions.xml | 4 +++- res/values/colors.xml | 2 +- res/values/dimensions.xml | 6 ++++- res/values/styles.xml | 13 +++++++++- .../setup/AccountSetupBasicsFragment.java | 2 +- .../activity/setup/AccountSetupFragment.java | 7 +++++- .../activity/setup/AuthenticationView.java | 2 +- 16 files changed, 75 insertions(+), 26 deletions(-) diff --git a/res/layout-w600dp/account_setup_basics_fragment.xml b/res/layout-w600dp/account_setup_basics_fragment.xml index 5890325a3..b9c67ad91 100644 --- a/res/layout-w600dp/account_setup_basics_fragment.xml +++ b/res/layout-w600dp/account_setup_basics_fragment.xml @@ -40,6 +40,13 @@ android:layout_marginTop="@dimen/setup_basics_logo_margin_top" android:layout_marginBottom="@dimen/setup_basics_logo_margin_bottom" android:layout_gravity="center_horizontal" /> + + android:layout_gravity="center_vertical" + style="@style/account_setup_label_text"/> diff --git a/res/layout/account_setup_basics_fragment.xml b/res/layout/account_setup_basics_fragment.xml index 40c7e6eea..b20366e1d 100644 --- a/res/layout/account_setup_basics_fragment.xml +++ b/res/layout/account_setup_basics_fragment.xml @@ -40,6 +40,12 @@ android:layout_marginTop="@dimen/setup_basics_logo_margin_top" android:layout_marginBottom="@dimen/setup_basics_logo_margin_bottom" android:layout_gravity="center_horizontal" /> + diff --git a/res/layout/account_setup_credentials_fragment.xml b/res/layout/account_setup_credentials_fragment.xml index 5e15768b7..ba2935344 100644 --- a/res/layout/account_setup_credentials_fragment.xml +++ b/res/layout/account_setup_credentials_fragment.xml @@ -62,12 +62,14 @@ android:layout_height="wrap_content" android:orientation="vertical" android:visibility="gone"> -