|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
3 | 4 | xmlns:tools="http://schemas.android.com/tools" |
4 | 5 | android:layout_width="match_parent" |
5 | 6 | android:layout_height="wrap_content" |
6 | 7 | android:gravity="center" |
7 | | - android:minHeight="128dp" |
8 | | - android:orientation="vertical"> |
| 8 | + android:minHeight="192dp" |
| 9 | + android:orientation="vertical" |
| 10 | + android:paddingHorizontal="24dp" |
| 11 | + android:paddingVertical="16dp"> |
9 | 12 |
|
10 | | - <org.schabi.newpipe.views.NewPipeTextView |
11 | | - style="@style/EmptyStateKaomoji" |
12 | | - android:layout_width="wrap_content" |
| 13 | + <com.google.android.material.card.MaterialCardView |
| 14 | + android:layout_width="match_parent" |
13 | 15 | android:layout_height="wrap_content" |
14 | | - android:text="¯\\_(ツ)_/¯" |
15 | | - android:textAppearance="?android:attr/textAppearanceLarge" |
16 | | - tools:ignore="HardcodedText" /> |
| 16 | + app:cardBackgroundColor="?attr/colorSurfaceVariant" |
| 17 | + app:cardCornerRadius="28dp" |
| 18 | + app:cardElevation="0dp" |
| 19 | + app:strokeColor="?attr/colorOutline" |
| 20 | + app:strokeWidth="1dp"> |
17 | 21 |
|
18 | | - <org.schabi.newpipe.views.NewPipeTextView |
19 | | - android:layout_width="wrap_content" |
20 | | - android:layout_height="wrap_content" |
21 | | - android:layout_gravity="center" |
22 | | - android:layout_marginTop="6dp" |
23 | | - android:gravity="center" |
24 | | - android:paddingHorizontal="16dp" |
25 | | - android:textColor="?attr/colorOnSurfaceVariant" |
26 | | - android:text="@string/empty_list_subtitle" /> |
| 22 | + <LinearLayout |
| 23 | + android:layout_width="match_parent" |
| 24 | + android:layout_height="wrap_content" |
| 25 | + android:gravity="center" |
| 26 | + android:minHeight="160dp" |
| 27 | + android:orientation="vertical" |
| 28 | + android:paddingHorizontal="24dp" |
| 29 | + android:paddingVertical="28dp"> |
| 30 | + |
| 31 | + <androidx.appcompat.widget.AppCompatImageView |
| 32 | + android:layout_width="48dp" |
| 33 | + android:layout_height="48dp" |
| 34 | + android:alpha="0.92" |
| 35 | + android:src="@drawable/ic_hourglass_top" |
| 36 | + app:tint="?attr/colorPrimary" |
| 37 | + tools:ignore="ContentDescription" /> |
| 38 | + |
| 39 | + <org.schabi.newpipe.views.NewPipeTextView |
| 40 | + android:layout_width="match_parent" |
| 41 | + android:layout_height="wrap_content" |
| 42 | + android:layout_marginTop="16dp" |
| 43 | + android:gravity="center" |
| 44 | + android:text="@string/empty_list_subtitle" |
| 45 | + android:textAppearance="?android:attr/textAppearanceMedium" |
| 46 | + android:textColor="?attr/colorOnSurfaceVariant" /> |
| 47 | + </LinearLayout> |
| 48 | + </com.google.android.material.card.MaterialCardView> |
27 | 49 | </LinearLayout> |
0 commit comments