Remove portrait support in SetupWizard

We support sensorLandscape for a moment.

See also I45e30c652feab1d30c4f0379379f8ca4e455fa02

- Use sensorLandscape instead of default
- Modify paddings in default xmls to layout landscape stuffs
  correctly

Change-Id: Ife03de69e4d1d2d898cd0e8de3cefd733aea8f19
This commit is contained in:
Daisuke Miyakawa
2011-02-10 12:26:26 -08:00
parent 09d5c98ea1
commit cc0dc00916
7 changed files with 8 additions and 352 deletions

View File

@@ -95,6 +95,8 @@ public class DateTimeSettingsSetupWizard extends Activity
mAutoTimeZoneButton.setText(autoTimeZoneEnabled ? R.string.zone_auto_summaryOn :
R.string.zone_auto_summaryOff);*/
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
final TimeZone tz = TimeZone.getDefault();
mSelectedTimeZone = tz;
mTimeZoneButton = (Button)findViewById(R.id.time_zone_button);