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
1 file changed