|
26 | 26 | tools:ignore="UnusedAttribute">
|
27 | 27 |
|
28 | 28 | <TextClock
|
29 |
| - android:id="@+id/widget_text_clock" |
| 29 | + android:id="@+id/widget_text_clock_24" |
30 | 30 | android:layout_width="match_parent"
|
31 | 31 | android:layout_height="0dp"
|
32 | 32 | android:layout_weight="4"
|
33 | 33 | android:autoSizeMaxTextSize="300sp"
|
34 | 34 | android:autoSizeMinTextSize="2sp"
|
35 | 35 | android:autoSizeStepGranularity="1sp"
|
36 | 36 | android:autoSizeTextType="uniform"
|
37 |
| - android:format12Hour="h:mm" |
38 |
| - android:format24Hour="k:mm" |
| 37 | + android:format12Hour="HH:mm" |
| 38 | + android:format24Hour="HH:mm" |
39 | 39 | android:gravity="center"
|
40 | 40 | android:includeFontPadding="false"
|
41 | 41 | android:maxLines="1"
|
|
45 | 45 | android:textSize="@dimen/normal_text_size"
|
46 | 46 | tools:text="00:00" />
|
47 | 47 |
|
| 48 | + <TextClock |
| 49 | + android:id="@+id/widget_text_clock_12" |
| 50 | + android:layout_width="match_parent" |
| 51 | + android:layout_height="0dp" |
| 52 | + android:layout_weight="4" |
| 53 | + android:autoSizeMaxTextSize="300sp" |
| 54 | + android:autoSizeMinTextSize="2sp" |
| 55 | + android:autoSizeStepGranularity="1sp" |
| 56 | + android:autoSizeTextType="uniform" |
| 57 | + android:format12Hour="h:mm a" |
| 58 | + android:format24Hour="h:mm a" |
| 59 | + android:gravity="center" |
| 60 | + android:includeFontPadding="false" |
| 61 | + android:maxLines="1" |
| 62 | + android:shadowColor="@android:color/black" |
| 63 | + android:shadowDy="1" |
| 64 | + android:shadowRadius="1" |
| 65 | + android:textSize="@dimen/normal_text_size" |
| 66 | + tools:text="0:00 AM" /> |
| 67 | + |
48 | 68 | <TextClock
|
49 | 69 | android:id="@+id/widget_date"
|
50 | 70 | android:layout_width="match_parent"
|
|
0 commit comments