From ee463b32ffd9d7d5c2eccbc2ad344735841caef0 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 23 Nov 2009 00:23:34 +0000 Subject: [PATCH] Overhaul our setup wizard to have a more reasonable bottom bar and to reuse that layout code where possible; standardize the id of the 'next' button --- res/layout/account_setup_basics.xml | 37 ++++++++++++++------ res/layout/account_setup_check_settings.xml | 21 ++++------- res/layout/account_setup_incoming.xml | 16 +-------- res/layout/account_setup_names.xml | 30 ++++++++++++---- res/layout/account_setup_options.xml | 20 ++--------- res/layout/account_setup_outgoing.xml | 18 ++-------- res/layout/accounts.xml | 19 ++-------- res/layout/wizard_cancel.xml | 20 +++++++++++ res/layout/wizard_next.xml | 21 +++++++++++ src/com/android/email/activity/Accounts.java | 4 +-- 10 files changed, 109 insertions(+), 97 deletions(-) create mode 100644 res/layout/wizard_cancel.xml create mode 100644 res/layout/wizard_next.xml diff --git a/res/layout/account_setup_basics.xml b/res/layout/account_setup_basics.xml index 1afa732e0..d32889a81 100644 --- a/res/layout/account_setup_basics.xml +++ b/res/layout/account_setup_basics.xml @@ -1,10 +1,20 @@ + + + android:fadingEdge="none" + android:scrollbarStyle="outsideInset"> + + + + android:layout_marginTop="-45dip" + android:padding="0dip" + android:layout_alignParentBottom="true" + android:gravity="bottom|right" + android:background="@android:drawable/bottom_bar" + android:layout_height="fill_parent" + android:layout_width="fill_parent">