From 14cbcb7fe88dab90cb50efa3a09869bc48297170 Mon Sep 17 00:00:00 2001 From: Daisuke Miyakawa Date: Wed, 12 Jan 2011 21:19:24 -0800 Subject: [PATCH] Revise layout for Wifi Setup in XLarge screen - revise xml for new layout - introduce padding View objects for resizing screen when software keyboard is shown. - We now don't show the detailed status of Wi-Fi module anymore in SetupWizard flow (like "disconnected", "connecting", etc.) - remove Forget button and relevant code. Bug: 3347865 Change-Id: Ieab3246f06ee73af59e247b3f9f31c7570efc71f --- .../wifi_settings_for_setup_wizard_xl.xml | 195 +++++++++--------- .../wifi_config_ui_for_setup_wizard.xml | 150 +++++++------- res/values/strings.xml | 16 +- .../settings/wifi/WifiConfigUiBase.java | 2 +- .../wifi/WifiConfigUiForSetupWizardXL.java | 58 +++--- .../android/settings/wifi/WifiSettings.java | 2 +- .../wifi/WifiSettingsForSetupWizardXL.java | 157 ++++++++------ 7 files changed, 308 insertions(+), 272 deletions(-) diff --git a/res/layout-xlarge/wifi_settings_for_setup_wizard_xl.xml b/res/layout-xlarge/wifi_settings_for_setup_wizard_xl.xml index df6cfbf4318..29427d4f7ef 100644 --- a/res/layout-xlarge/wifi_settings_for_setup_wizard_xl.xml +++ b/res/layout-xlarge/wifi_settings_for_setup_wizard_xl.xml @@ -19,46 +19,43 @@ android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:paddingTop="120dip" + android:paddingTop="60dip" android:paddingLeft="128dip" android:paddingRight="128dip" android:paddingBottom="0dip" > - + + + - - - - + + android:layout_below="@id/wifi_setup_title"> - - - + android:layout_width="match_parent" + android:layout_height="360dip"> - + + - + + + + android:layout_alignParentBottom="true"> -