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"
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"
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"
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"
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"
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"
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"
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"
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"
201205 android : layout_weight =" 1"
202206 android : text =" @string/finish" />
203207 </LinearLayout >
204- </LinearLayout >
205- </ScrollView >
206208</RelativeLayout >
0 commit comments