From beec0b2da6286575a4526d06cd5215463f39ae40 Mon Sep 17 00:00:00 2001 From: Daisuke Miyakawa Date: Thu, 10 Feb 2011 11:54:06 -0800 Subject: [PATCH] Remove padding between top divider and wifi list We need View in addtion to ProgressBar, since the latter doesn't allow us to control its padding on the bottom. Bug: 3443287 Change-Id: I1f8fb8eca11d52d9c18866301553110c2147b3ef --- .../wifi_settings_for_setup_wizard_xl.xml | 16 ++++++++++++--- .../wifi/WifiSettingsForSetupWizardXL.java | 20 +++++++++++++++++++ 2 files changed, 33 insertions(+), 3 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 7b2a203d5ac..9eccc69c4bf 100644 --- a/res/layout-xlarge/wifi_settings_for_setup_wizard_xl.xml +++ b/res/layout-xlarge/wifi_settings_for_setup_wizard_xl.xml @@ -52,7 +52,7 @@ android:gravity="bottom"/> - - + + 0) { + mProgressBar.setVisibility(View.GONE); mProgressBar.setIndeterminate(false); + mTopDividerNoProgress.setVisibility(View.VISIBLE); mAddNetworkButton.setEnabled(true); mRefreshButton.setEnabled(true); }