|
25 | 25 | android:layout_width="wrap_content" |
26 | 26 | android:layout_height="wrap_content"> |
27 | 27 |
|
28 | | - <!-- hour --> |
29 | | - <NumberPicker |
30 | | - android:id="@+id/hour" |
| 28 | + <LinearLayout android:orientation="horizontal" |
31 | 29 | android:layout_width="wrap_content" |
32 | 30 | android:layout_height="wrap_content" |
33 | | - android:layout_marginTop="16dip" |
34 | | - android:layout_marginBottom="16dip" |
35 | | - android:layout_marginStart="16dip" |
36 | | - android:layout_marginEnd="6dip" |
37 | | - android:focusable="true" |
38 | | - android:focusableInTouchMode="true" |
39 | | - /> |
| 31 | + android:layoutDirection="ltr"> |
40 | 32 |
|
41 | | - <!-- divider --> |
42 | | - <TextView |
43 | | - android:id="@+id/divider" |
44 | | - android:layout_width="wrap_content" |
45 | | - android:layout_height="wrap_content" |
46 | | - android:layout_gravity="center_vertical" |
47 | | - android:importantForAccessibility="no" |
48 | | - /> |
| 33 | + <!-- hour --> |
| 34 | + <NumberPicker |
| 35 | + android:id="@+id/hour" |
| 36 | + android:layout_width="wrap_content" |
| 37 | + android:layout_height="wrap_content" |
| 38 | + android:layout_marginTop="16dip" |
| 39 | + android:layout_marginBottom="16dip" |
| 40 | + android:layout_marginStart="16dip" |
| 41 | + android:layout_marginEnd="6dip" |
| 42 | + android:focusable="true" |
| 43 | + android:focusableInTouchMode="true" |
| 44 | + /> |
49 | 45 |
|
50 | | - <!-- minute --> |
51 | | - <NumberPicker |
52 | | - android:id="@+id/minute" |
53 | | - android:layout_width="wrap_content" |
54 | | - android:layout_height="wrap_content" |
55 | | - android:layout_marginTop="16dip" |
56 | | - android:layout_marginBottom="16dip" |
57 | | - android:layout_marginStart="6dip" |
58 | | - android:layout_marginEnd="8dip" |
59 | | - android:focusable="true" |
60 | | - android:focusableInTouchMode="true" |
61 | | - /> |
| 46 | + <!-- divider --> |
| 47 | + <TextView |
| 48 | + android:id="@+id/divider" |
| 49 | + android:layout_width="wrap_content" |
| 50 | + android:layout_height="wrap_content" |
| 51 | + android:layout_gravity="center_vertical" |
| 52 | + android:importantForAccessibility="no" |
| 53 | + /> |
| 54 | + |
| 55 | + <!-- minute --> |
| 56 | + <NumberPicker |
| 57 | + android:id="@+id/minute" |
| 58 | + android:layout_width="wrap_content" |
| 59 | + android:layout_height="wrap_content" |
| 60 | + android:layout_marginTop="16dip" |
| 61 | + android:layout_marginBottom="16dip" |
| 62 | + android:layout_marginStart="6dip" |
| 63 | + android:layout_marginEnd="8dip" |
| 64 | + android:focusable="true" |
| 65 | + android:focusableInTouchMode="true" |
| 66 | + /> |
| 67 | + |
| 68 | + </LinearLayout> |
62 | 69 |
|
63 | 70 | <!-- AM / PM --> |
64 | 71 | <NumberPicker |
|
0 commit comments