Commit Graph

14 Commits

Author SHA1 Message Date
Daisuke Miyakawa
da40cc28d9 Remove skip button from datetime settings
Also force landscape mode in XLarge screen.

Bug: 3285153
Change-Id: I9f4a0de6a36d0be2b5f80b734a4910f4bb154905
2010-12-15 11:56:35 -08:00
Daisuke Miyakawa
2571f0dcb1 Refactor DateTimeSettingsSetup.
- Use Popup instead of bare fragment.
- Expose Adapters in ZonePicker.java so that it can be used
  outside the fragment.
- Fix layout

Bug: 3175603
Change-Id: I2726fde4fa1a9aea1ecb29b6aa2d23dbc54232b9
2010-11-16 09:44:47 -08:00
Daisuke Miyakawa
ce0a7b2df0 Disable Auto-timezone in SetupWizard
Also remove status bar code, as we shouldn't touch it here.

Bug: 3008295
Change-Id: I1ae3f118eae2cacd135d3ec61f1c27993fe2e166
2010-10-01 09:14:24 -07:00
Daisuke Miyakawa
fe3b6bea01 Disable Status bar in SetupWizard XL.
Bug: 3005211
Change-Id: I468b7d45aceda8fbdc72f723c95c3818c8da20f5
2010-09-27 10:38:12 -07:00
Daisuke Miyakawa
4ad2f9b870 Let SetupWizard XL use Auto_TIME_ZONE
Bug: 2989496
Change-Id: I37719a70783fc0505598ef9aaad1792d4a0ca1af
2010-09-22 12:31:55 -07:00
Daisuke Miyakawa
f2d5e9536a Hide software keyboard when it becomes unnecessary
Bug: 3003749
Change-Id: If8dcf66cf088590bbe26e5ec71537b6b43f66226
2010-09-15 10:49:38 -07:00
Daisuke Miyakawa
e25b55c00b Clear focus when auto mode is set.
Bug: 3003541
Change-Id: I2dbaac4ae55b4484387053dbad1311d562102304
2010-09-15 10:10:26 -07:00
Daisuke Miyakawa
71cc548f7e Implement DateTimeSetings for Setup Wizard XL.
Make the orientation "behind", as XL would require landscape.

TODO:
- Automatic Time Zone should be available.
- Layout is immature: need to have better theme and layout xml.

Change-Id: Iafe141223a227643ca774f4df5e5b7fde9520d31
2010-09-09 16:51:57 -07:00
Daisuke Miyakawa
0f4f2f3a81 Fragmentize ZoneList, which is needed in DateTimeSettings refactoring.
- remove old ZonePicker and rename ZoneList to ZonePicker, as
  the name is really confusing (see LocalePicker)
- Make the new ZonePicker fragment.
- remove dependency toward "ZoneList" class.
-- AndroidManifest.xml does not allow the other components to
   access ZoneList directly, so it would be ok to remove without
   using activity-alias.
-- Noticed there is a significant code duplication between
   DateTimeSettings and DateTimeSettingsActivity. I'll work on it
   later.
- add DateTimeSettingsSetupWizardXL class, which is not used yet,
  but will be in the near future.
-- It is not recognized by AndroidManifest.xml

Change-Id: Id26152a3d560f9e0bd84afdf3e1c5101f0e166b4
2010-09-08 16:15:44 -07:00
Amith Yamasani
d79934731c Refactor settings top level activities to use fragments.
Added a base class SettingsPreferenceFragment from which the settings activities should
be derived so that they can behave like fragments. It contains some commonly called
utility methods and dialog conversion to DialogFragment.

Some of the top-level activities can be launched directly without the left pane.
Settings.java acts as a proxy activity that contains just that settings fragment without
the left pane.

There are still a lot of second and third level activities that need to be fragmentized.
This is just the first pass to test the 2-pane layout.
2010-08-18 22:59:33 -07:00
Ben Clark
f7f47d001b Removed unused import android.widget.LinearLayout
Change-Id: I904f5e3a2054f99bbc7c685e9d7a805cb621819a
2010-07-21 21:44:59 +01:00
The Android Open Source Project
afc4ab2ffb auto import from //depot/cupcake/@135843 2009-03-03 19:32:34 -08:00
The Android Open Source Project
4e14e5ccbf auto import from //depot/cupcake/@135843 2009-03-03 18:28:52 -08:00
The Android Open Source Project
de2d9f5f10 Initial Contribution 2008-10-21 07:00:00 -07:00