|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<TextView xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 | xmlns:tools="http://schemas.android.com/tools" |
4 | | - android:id="@+id/day_monthly_number_id" |
| 4 | + android:id="@+id/day_monthly_number_holder" |
5 | 5 | android:layout_width="match_parent" |
6 | | - android:layout_height="wrap_content" |
7 | | - android:layout_marginStart="@dimen/tiny_margin" |
8 | | - android:layout_marginEnd="@dimen/tiny_margin" |
9 | | - android:ellipsize="none" |
10 | | - android:gravity="center_horizontal" |
11 | | - android:maxLines="1" |
12 | | - android:paddingStart="@dimen/tiny_margin" |
13 | | - android:paddingEnd="@dimen/tiny_margin" |
14 | | - android:textSize="@dimen/normal_text_size" |
15 | | - tools:text="1" /> |
| 6 | + android:layout_height="wrap_content"> |
| 7 | + |
| 8 | + <ImageView |
| 9 | + android:id="@+id/day_monthly_number_background" |
| 10 | + android:layout_width="match_parent" |
| 11 | + android:layout_height="match_parent" |
| 12 | + android:layout_alignBottom="@+id/day_monthly_number_id" |
| 13 | + android:layout_margin="@dimen/one_dp" |
| 14 | + android:contentDescription="@null" |
| 15 | + android:src="@drawable/day_monthly_event_background_widget" |
| 16 | + android:visibility="gone" /> |
| 17 | + |
| 18 | + <TextView |
| 19 | + android:id="@+id/day_monthly_number_id" |
| 20 | + android:layout_width="match_parent" |
| 21 | + android:layout_height="wrap_content" |
| 22 | + android:layout_marginStart="@dimen/tiny_margin" |
| 23 | + android:layout_marginEnd="@dimen/tiny_margin" |
| 24 | + android:ellipsize="none" |
| 25 | + android:gravity="center_horizontal" |
| 26 | + android:maxLines="1" |
| 27 | + android:paddingStart="@dimen/tiny_margin" |
| 28 | + android:paddingEnd="@dimen/tiny_margin" |
| 29 | + android:textSize="@dimen/normal_text_size" |
| 30 | + tools:text="1" /> |
| 31 | + |
| 32 | +</RelativeLayout> |
0 commit comments