Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 9e9793d

Browse files
Revert "A few tweaks"
This reverts commit 63aa102.
1 parent c318911 commit 9e9793d

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

app/proguard-rules.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# Uncomment this to preserve the line number information for
1616
# debugging stack traces.
17-
#-keepattributes SourceFile,LineNumberTable,Signature
17+
-keepattributes SourceFile,LineNumberTable,Signature
1818
-printmapping mapping.txt
1919

2020
# Optimisations

app/src/main/res/layout/setup_box.xml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<RelativeLayout
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
xmlns:app="http://schemas.android.com/apk/res-auto"
5-
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
5+
android:layout_width="match_parent"
66
android:layout_height="match_parent"
77
android:gravity="fill_vertical"
88
android:orientation="vertical"
@@ -51,7 +51,7 @@
5151
<!-- Button to trigger theme selection -->
5252
<com.google.android.material.button.MaterialButton
5353
android:id="@+id/setup_theme_button"
54-
android:layout_width="320dp"
54+
android:layout_width="match_parent"
5555
android:layout_height="wrap_content"
5656
android:layout_marginTop="4dp"
5757
android:backgroundTint="@color/gray_900"
@@ -66,7 +66,7 @@
6666
app:iconPadding="8dp"
6767
app:iconTint="@color/white"
6868
app:iconTintMode="src_in"
69-
app:rippleColor="@color/gray_800" tools:ignore="DuplicateSpeakableTextCheck" />
69+
app:rippleColor="@color/gray_800" />
7070

7171
<com.google.android.material.textview.MaterialTextView
7272
android:layout_width="match_parent"
@@ -77,7 +77,7 @@
7777

7878
<com.google.android.material.materialswitch.MaterialSwitch
7979
android:id="@+id/setup_androidacy_repo"
80-
android:layout_width="320dp"
80+
android:layout_width="match_parent"
8181
android:layout_height="wrap_content"
8282
android:layout_margin="4dp"
8383
android:checked="false"
@@ -87,7 +87,7 @@
8787

8888
<!-- Small summary for above switch -->
8989
<com.google.android.material.textview.MaterialTextView
90-
android:layout_width="wrap_content"
90+
android:layout_width="match_parent"
9191
android:layout_height="wrap_content"
9292
android:layout_margin="4dp"
9393
android:drawableStart="@drawable/ic_baseline_info_24"
@@ -97,7 +97,7 @@
9797

9898
<com.google.android.material.materialswitch.MaterialSwitch
9999
android:id="@+id/setup_magisk_alt_repo"
100-
android:layout_width="320dp"
100+
android:layout_width="match_parent"
101101
android:layout_height="wrap_content"
102102
android:layout_margin="4dp"
103103
android:checked="false"
@@ -131,7 +131,7 @@
131131

132132
<com.google.android.material.materialswitch.MaterialSwitch
133133
android:id="@+id/setup_crash_reporting"
134-
android:layout_width="320dp"
134+
android:layout_width="match_parent"
135135
android:layout_height="wrap_content"
136136
android:layout_margin="4dp"
137137
android:checked="false"
@@ -150,7 +150,7 @@
150150

151151
<com.google.android.material.materialswitch.MaterialSwitch
152152
android:id="@+id/setup_background_update_check"
153-
android:layout_width="320dp"
153+
android:layout_width="match_parent"
154154
android:layout_height="wrap_content"
155155
android:layout_margin="4dp"
156156
android:checked="false"
@@ -178,13 +178,17 @@
178178
android:key="pref_app_analytics"
179179
android:textAppearance="@android:style/TextAppearance.Material.Small"
180180
android:text="@string/setup_app_analytics" />-->
181-
<!-- setup_cancel and setup_continue side by side buttons, stuck to bottom right, with a small space in between -->
182-
<LinearLayout
183-
android:layout_width="wrap_content"
184-
android:layout_height="wrap_content"
185-
android:layout_gravity="bottom|end"
186-
android:layout_margin="4dp"
187-
android:orientation="horizontal">
181+
</LinearLayout>
182+
</ScrollView>
183+
<!-- setup_cancel and setup_continue side by side buttons, stuck to bottom right, with a small space in between -->
184+
<LinearLayout
185+
android:layout_width="wrap_content"
186+
android:layout_height="wrap_content"
187+
android:layout_alignEnd="@+id/setup_scroll"
188+
android:layout_alignParentBottom="true"
189+
android:layout_gravity="bottom|end"
190+
android:layout_margin="4dp"
191+
android:orientation="horizontal">
188192

189193
<com.google.android.material.button.MaterialButton
190194
android:id="@+id/setup_cancel"
@@ -201,6 +205,4 @@
201205
android:layout_weight="1"
202206
android:text="@string/finish" />
203207
</LinearLayout>
204-
</LinearLayout>
205-
</ScrollView>
206208
</RelativeLayout>

0 commit comments

Comments
 (0)