|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
4 | | - xmlns:tools="http://schemas.android.com/tools" |
5 | 4 | android:layout_width="match_parent" |
6 | 5 | android:layout_height="match_parent"> |
7 | 6 |
|
|
17 | 16 | app:navigationIcon="?homeAsUpIndicator" |
18 | 17 | app:title="@string/about" /> |
19 | 18 |
|
20 | | - <ImageView |
21 | | - android:id="@+id/app_icon" |
22 | | - android:layout_width="110dp" |
23 | | - android:layout_height="110dp" |
24 | | - android:layout_gravity="center" |
25 | | - android:layout_marginTop="30dp" |
26 | | - android:src="@drawable/ic_launcher_lockscreen" |
27 | | - app:tint="?attr/colorSecondary" |
28 | | - tools:ignore="ContentDescription" /> |
29 | | - |
30 | | - <RelativeLayout |
| 19 | + <com.github.libretube.ui.views.AppIconHeader |
31 | 20 | android:layout_width="match_parent" |
32 | | - android:layout_height="wrap_content" |
33 | | - android:layout_gravity="center" |
34 | | - android:layout_marginBottom="40dp"> |
35 | | - |
36 | | - <TextView |
37 | | - android:id="@+id/app_name" |
38 | | - android:layout_width="wrap_content" |
39 | | - android:layout_height="wrap_content" |
40 | | - android:layout_centerHorizontal="true" |
41 | | - android:layout_marginTop="30dp" |
42 | | - android:text="@string/app_name" |
43 | | - android:textSize="24sp" |
44 | | - android:textStyle="bold" /> |
45 | | - |
46 | | - <com.google.android.material.card.MaterialCardView |
47 | | - android:id="@+id/version_card" |
48 | | - style="@style/Widget.Material3.CardView.Elevated" |
49 | | - android:layout_width="wrap_content" |
50 | | - android:layout_height="wrap_content" |
51 | | - android:layout_marginStart="-40dp" |
52 | | - android:layout_toEndOf="@id/app_name"> |
53 | | - |
54 | | - <TextView |
55 | | - android:id="@+id/version_tv" |
56 | | - android:layout_width="wrap_content" |
57 | | - android:layout_height="wrap_content" |
58 | | - android:layout_marginHorizontal="6dp" |
59 | | - android:layout_marginVertical="3dp" |
60 | | - tools:text="1.0.0 (99)" /> |
61 | | - |
62 | | - </com.google.android.material.card.MaterialCardView> |
63 | | - |
64 | | - </RelativeLayout> |
| 21 | + android:layout_height="wrap_content" /> |
65 | 22 |
|
66 | 23 | <com.google.android.material.card.MaterialCardView |
67 | 24 | android:id="@+id/donate" |
|
0 commit comments