From 7e4daecc9af8d35a7118de4edb711f084110814e Mon Sep 17 00:00:00 2001 From: Tony Mantler Date: Thu, 16 Jan 2014 09:59:39 -0800 Subject: [PATCH] Merge AccountSetupNames and AccountSetupOptions Change-Id: I5946e90e56b1fc725522d41e2e33d8125900a871 --- AndroidManifest.xml | 8 +- .../account_setup.xml} | 77 +-- .../account_setup_buttons.xml | 32 ++ .../account_setup_names.xml | 72 --- .../account_setup_options.xml | 82 --- res/layout-sw600dp-port/account_setup.xml | 54 ++ .../account_setup_options.xml | 96 ---- ...ount_setup_names.xml => account_setup.xml} | 42 +- res/layout/account_setup_buttons.xml | 35 +- .../account_setup_fragment_container.xml} | 20 +- res/layout/account_setup_options.xml | 40 -- .../email/activity/ActivityHelper.java | 1 + .../setup/AccountCreationFragment.java | 335 +++++++++++ .../activity/setup/AccountSetupBasics.java | 4 +- .../activity/setup/AccountSetupFinal.java | 487 ++++++++++++++++ .../activity/setup/AccountSetupIncoming.java | 4 +- .../activity/setup/AccountSetupNames.java | 236 -------- .../setup/AccountSetupNamesFragment.java | 2 +- .../activity/setup/AccountSetupOptions.java | 541 ------------------ .../activity/setup/AccountSetupOutgoing.java | 5 +- ...Tests.java => AccountSetupFinalTests.java} | 17 +- 21 files changed, 993 insertions(+), 1197 deletions(-) rename res/{layout-sw600dp-port/account_setup_names.xml => layout-sw600dp-land/account_setup.xml} (50%) create mode 100644 res/layout-sw600dp-land/account_setup_buttons.xml delete mode 100644 res/layout-sw600dp-land/account_setup_names.xml delete mode 100644 res/layout-sw600dp-land/account_setup_options.xml create mode 100644 res/layout-sw600dp-port/account_setup.xml delete mode 100644 res/layout-sw600dp-port/account_setup_options.xml rename res/layout/{account_setup_names.xml => account_setup.xml} (50%) rename res/{layout-sw600dp/account_setup_names_common.xml => layout/account_setup_fragment_container.xml} (62%) delete mode 100644 res/layout/account_setup_options.xml create mode 100644 src/com/android/email/activity/setup/AccountCreationFragment.java create mode 100644 src/com/android/email/activity/setup/AccountSetupFinal.java delete mode 100644 src/com/android/email/activity/setup/AccountSetupNames.java delete mode 100644 src/com/android/email/activity/setup/AccountSetupOptions.java rename tests/src/com/android/email/activity/setup/{AccountSetupOptionsTests.java => AccountSetupFinalTests.java} (91%) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 5a0eca1f4..85e9c6d60 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -268,16 +268,12 @@ android:label="@string/account_setup_outgoing_title" > + - - - - + + android:layout_width="match_parent" + android:layout_height="match_parent"> - - - + android:paddingTop="@dimen/setup_padding_top" + android:paddingLeft="@dimen/setup_padding_left" + android:paddingRight="@dimen/setup_padding_right" > - - + + - - - + + + + + + - - - - - - -