commit | 6a6f2481fd4d80846a9527339a8fd2f29533f4d0 | [log] [tgz] |
---|---|---|
author | Keyvan Amiri <keyvana@google.com> | Wed Feb 22 21:23:47 2017 -0800 |
committer | Keyvan Amiri <keyvana@google.com> | Wed Feb 22 21:32:08 2017 -0800 |
tree | 6f1b75b7ede3622f80ed62d0c445a8a493109222 | |
parent | f7388045560b1fd8f3424256aaa8d95e0a8ab233 [diff] |
Added the default format and ordering of columns for TimePicker TimePicker used 12 hour format by default, if not explcitly set by the user. It now retrieves the 12 vs 24-hour mode from the context based on the user preference. Also used a more reliable method to find the ordering of AM/PM column w.r.t the other fields for API 18 and above. Test: See the ordering of AM/PM column for Korean which should come at the beginning. Change-Id: I8817c1db991877e74cb50d175ca94f3c2b6a3e04