|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | | - android:layout_width="match_parent" |
4 | | - android:layout_height="wrap_content" |
5 | | - android:gravity="fill" |
6 | | - android:orientation="vertical" |
7 | | - android:paddingLeft="16dp" |
8 | | - android:paddingRight="16dp" |
9 | | - android:scrollbars="vertical"> |
| 2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="fill" android:orientation="vertical" android:paddingLeft="20dp" android:paddingRight="20dp" android:scrollbars="vertical"> |
10 | 3 |
|
11 | 4 | <com.google.android.material.textview.MaterialTextView |
12 | | - android:layout_width="match_parent" |
| 5 | + android:layout_width="wrap_content" |
13 | 6 | android:layout_height="wrap_content" |
14 | | - android:layout_margin="8dp" |
15 | | - android:text="@string/setup_message" |
16 | | - android:textSize="14sp" /> |
| 7 | + android:layout_margin="4dp" |
| 8 | + android:text="@string/setup_message" /> |
17 | 9 |
|
18 | 10 | <ScrollView |
19 | 11 | android:layout_width="match_parent" |
|
28 | 20 | <com.google.android.material.textview.MaterialTextView |
29 | 21 | android:layout_width="wrap_content" |
30 | 22 | android:layout_height="wrap_content" |
31 | | - android:layout_marginStart="8dp" |
32 | | - android:layout_marginTop="6dp" |
33 | | - android:layout_marginEnd="8dp" |
34 | | - android:layout_marginBottom="6dp" |
| 23 | + android:layout_margin="4dp" |
35 | 24 | android:text="@string/repos" |
36 | | - android:textSize="18sp" /> |
| 25 | + android:textAppearance="@android:style/TextAppearance.Material.Headline" /> |
37 | 26 |
|
38 | 27 | <com.google.android.material.materialswitch.MaterialSwitch |
39 | 28 | android:id="@+id/setup_androidacy_repo" |
40 | 29 | android:layout_width="wrap_content" |
41 | 30 | android:layout_height="wrap_content" |
42 | | - android:layout_marginStart="8dp" |
43 | | - android:layout_marginEnd="8dp" |
44 | | - android:layout_marginBottom="4dp" |
| 31 | + android:layout_margin="4dp" |
45 | 32 | android:checked="false" |
46 | 33 | android:key="pref_androidacy_repo_enabled" |
47 | 34 | android:text="@string/setup_androidacy_repo" |
48 | | - android:textSize="14sp" /> |
| 35 | + android:textAppearance="@android:style/TextAppearance.Material.Small" /> |
49 | 36 |
|
50 | 37 | <com.google.android.material.materialswitch.MaterialSwitch |
51 | 38 | android:id="@+id/setup_magisk_alt_repo" |
52 | 39 | android:layout_width="wrap_content" |
53 | 40 | android:layout_height="wrap_content" |
54 | | - android:layout_marginStart="8dp" |
55 | | - android:layout_marginEnd="8dp" |
56 | | - android:layout_marginBottom="4dp" |
| 41 | + android:layout_margin="4dp" |
| 42 | + android:text="@string/setup_magisk_alt_repo" |
57 | 43 | android:checked="false" |
58 | 44 | android:key="pref_magisk_alt_repo_enabled" |
59 | | - android:text="@string/setup_magisk_alt_repo" |
60 | | - android:textSize="14sp" /> |
| 45 | + android:textAppearance="@android:style/TextAppearance.Material.Small" /> |
61 | 46 |
|
62 | 47 | <com.google.android.material.textview.MaterialTextView |
63 | 48 | android:layout_width="match_parent" |
64 | 49 | android:layout_height="wrap_content" |
65 | | - android:layout_marginStart="8dp" |
66 | | - android:layout_marginEnd="8dp" |
67 | | - android:layout_marginBottom="2dp" |
68 | | - android:checked="false" |
| 50 | + android:layout_margin="4dp" |
69 | 51 | android:text="@string/setup_custom_repos" |
70 | | - android:textSize="12sp" /> |
| 52 | + android:textAppearance="@android:style/TextAppearance.Material.Caption" /> |
71 | 53 |
|
72 | 54 | <com.google.android.material.textview.MaterialTextView |
73 | 55 | android:layout_width="match_parent" |
74 | 56 | android:layout_height="wrap_content" |
75 | | - android:layout_marginStart="8dp" |
76 | | - android:layout_marginTop="6dp" |
77 | | - android:layout_marginEnd="8dp" |
78 | | - android:layout_marginBottom="6dp" |
| 57 | + android:layout_margin="4dp" |
79 | 58 | android:text="@string/misc" |
80 | | - android:textSize="18sp" /> |
| 59 | + android:textAppearance="@android:style/TextAppearance.Material.Headline" /> |
81 | 60 |
|
82 | 61 | <com.google.android.material.materialswitch.MaterialSwitch |
83 | 62 | android:id="@+id/setup_crash_reporting" |
84 | 63 | android:layout_width="wrap_content" |
85 | 64 | android:layout_height="wrap_content" |
86 | | - android:layout_marginStart="8dp" |
87 | | - android:layout_marginEnd="8dp" |
88 | | - android:layout_marginBottom="4dp" |
| 65 | + android:layout_margin="4dp" |
89 | 66 | android:checked="false" |
90 | 67 | android:key="pref_crash_reporting_enabled" |
91 | 68 | android:text="@string/setup_crash_reporting" |
92 | | - android:textSize="14sp" /> |
| 69 | + android:textAppearance="@android:style/TextAppearance.Material.Small" /> |
93 | 70 |
|
94 | 71 | <com.google.android.material.materialswitch.MaterialSwitch |
95 | 72 | android:id="@+id/setup_background_update_check" |
96 | 73 | android:layout_width="wrap_content" |
97 | 74 | android:layout_height="wrap_content" |
98 | | - android:layout_marginStart="8dp" |
99 | | - android:layout_marginEnd="8dp" |
100 | | - android:layout_marginBottom="4dp" |
| 75 | + android:layout_margin="4dp" |
101 | 76 | android:checked="false" |
102 | 77 | android:key="pref_background_update_check" |
103 | 78 | android:text="@string/setup_background_update_check" |
104 | | - android:textSize="14sp" /> |
| 79 | + android:textAppearance="@android:style/TextAppearance.Material.Small" /> |
| 80 | + |
| 81 | + <!-- Placeholder for future settings --> |
| 82 | + <!--<com.google.android.material.materialswitch.MaterialSwitch |
| 83 | + android:id="@+id/setup_app_analytics" |
| 84 | + android:layout_width="wrap_content" |
| 85 | + android:layout_height="wrap_content" |
| 86 | + android:layout_margin="4dp" |
| 87 | + android:checked="false" |
| 88 | + android:key="pref_app_analytics" |
| 89 | + android:textAppearance="@android:style/TextAppearance.Material.Small" |
| 90 | + android:text="@string/setup_app_analytics" />--> |
105 | 91 | </LinearLayout> |
106 | 92 |
|
107 | 93 | </ScrollView> |
|
0 commit comments