diff options
author | Daisuke Miyakawa <dmiyakawa@google.com> | 2010-12-28 12:06:08 -0800 |
---|---|---|
committer | Daisuke Miyakawa <dmiyakawa@google.com> | 2010-12-28 12:06:08 -0800 |
commit | 0688f251af533c09682c791ae20834ab7854d7d7 (patch) | |
tree | a744dff27b2222e48629e73a86944f0bd523ed04 /src/com/android/settings/DateTimeSettingsSetupWizard.java | |
parent | 762d2646582c073152a8774c1c6c49e1dc441d2e (diff) | |
download | packages_apps_Settings-0688f251af533c09682c791ae20834ab7854d7d7.zip packages_apps_Settings-0688f251af533c09682c791ae20834ab7854d7d7.tar.gz packages_apps_Settings-0688f251af533c09682c791ae20834ab7854d7d7.tar.bz2 |
Refresh layouts for SetupWizard.
- DateTimeSettingsSetupWizardXL
- WifiSettingsForSetupWizardXL
Bug: 3308677, 3137755
Change-Id: Ifdf67aa7521de7ef0286fea2b15ce693fbf5d5ce
Diffstat (limited to 'src/com/android/settings/DateTimeSettingsSetupWizard.java')
-rw-r--r-- | src/com/android/settings/DateTimeSettingsSetupWizard.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/settings/DateTimeSettingsSetupWizard.java b/src/com/android/settings/DateTimeSettingsSetupWizard.java index 73cba03..3a97763 100644 --- a/src/com/android/settings/DateTimeSettingsSetupWizard.java +++ b/src/com/android/settings/DateTimeSettingsSetupWizard.java @@ -100,7 +100,8 @@ public class DateTimeSettingsSetupWizard extends Activity mTimeZoneButton.setText(tz.getDisplayName()); // mTimeZoneButton.setText(DateTimeSettings.getTimeZoneText(tz)); mTimeZoneButton.setOnClickListener(this); - mTimeZoneAdapter = ZonePicker.constructTimezoneAdapter(this, false); + mTimeZoneAdapter = ZonePicker.constructTimezoneAdapter(this, false, + R.layout.custom_list_item); final boolean autoDateTimeEnabled; final Intent intent = getIntent(); @@ -110,7 +111,7 @@ public class DateTimeSettingsSetupWizard extends Activity autoDateTimeEnabled = isAutoDateTimeEnabled(); } - mAutoDateTimeButton = (CompoundButton)findViewById(R.id.date_time_auto); + mAutoDateTimeButton = (CompoundButton)findViewById(R.id.date_time_auto_button); mAutoDateTimeButton.setChecked(autoDateTimeEnabled); mAutoDateTimeButton.setText(autoDateTimeEnabled ? R.string.date_time_auto_summaryOn : R.string.date_time_auto_summaryOff); |