diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2013-08-05 12:07:24 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2013-09-27 12:09:41 -0700 |
commit | eeff63a5c347f282b5c8c3ae6a0924bf03fbce8f (patch) | |
tree | 088f7e62f386aff705be5047dde133013a9753fc /core/res/res/values-land | |
parent | 9c437bcb57a7cf5eb3bd1a85a4f2322fd34f50a3 (diff) | |
download | frameworks_base-eeff63a5c347f282b5c8c3ae6a0924bf03fbce8f.zip frameworks_base-eeff63a5c347f282b5c8c3ae6a0924bf03fbce8f.tar.gz frameworks_base-eeff63a5c347f282b5c8c3ae6a0924bf03fbce8f.tar.bz2 |
Update TimePicker widget and its related dialog
- the old TimePicker widget is still there for obvious layout compatibility reasons
- add a new delegate implementation for having a new UI based on a radial picker
- use the new delegate only for the TimePickerDialog (which does not need to be
the same)
- added support for Theming and light/dark Themes
- added support for I18N (hour formatting and time separator and also position of
AM/PM indicator coming from Unicode CLDR)
- added support for RTL
- verified support for Keyboard
- verified that CTS tests for TimePicker are passing (for both the legacy and the
new widgets)
Also added a new HapticFeedbackConstants.CLOCK_TICK and its related code for
enabling ticks vibration.
Change-Id: Ib9b53a152bd9e97383dc391ef8c26da91217298f
Diffstat (limited to 'core/res/res/values-land')
-rw-r--r-- | core/res/res/values-land/dimens.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/res/res/values-land/dimens.xml b/core/res/res/values-land/dimens.xml index 8f1bd9a..de1ae74 100644 --- a/core/res/res/values-land/dimens.xml +++ b/core/res/res/values-land/dimens.xml @@ -61,4 +61,7 @@ Landscape's layout allows this to be smaller than for portrait. --> <dimen name="kg_squashed_layout_threshold">400dp</dimen> + <!-- New TimePicker dimensions. --> + <dimen name="timepicker_left_side_width">250dip</dimen> + </resources> |