Port packed layout solver and overhaul layout settings

This commit is contained in:
ajp_anton
2026-05-13 03:06:17 +00:00
parent ba3b92d4d0
commit 06cc2e21d9
29 changed files with 5241 additions and 1302 deletions
@@ -73,6 +73,81 @@
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
app:cardUseCompatPadding="true"
app:strokeColor="@color/sbt_card_outline"
app:strokeWidth="1dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:letterSpacing="0.03"
android:text="@string/debug_section_android_notification_style"
android:textAllCaps="true"
android:textAppearance="?attr/textAppearanceSubtitle1"
android:textStyle="bold" />
<TextView
android:id="@+id/debug_notification_style_current"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<TextView
android:id="@+id/debug_notification_style_hint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/debug_notification_style_hint"
android:textAppearance="?attr/textAppearanceBody2" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/debug_notification_style_cards"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/debug_notification_style_cards" />
<com.google.android.material.button.MaterialButton
android:id="@+id/debug_notification_style_icons"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_weight="1"
android:text="@string/debug_notification_style_icons" />
<com.google.android.material.button.MaterialButton
android:id="@+id/debug_notification_style_dot"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_weight="1"
android:text="@string/debug_notification_style_dot" />
</LinearLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
+7 -16
View File
@@ -17,6 +17,7 @@
android:textAppearance="?attr/textAppearanceHeadline5" />
<com.google.android.material.card.MaterialCardView
android:id="@+id/layout_master_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@@ -49,6 +50,7 @@
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/layout_clock_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@@ -261,6 +263,7 @@
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/layout_chip_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@@ -474,6 +477,7 @@
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/layout_notif_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@@ -698,18 +702,11 @@
android:paddingEnd="0dp"
android:text="0" />
</LinearLayout>
<CheckBox
android:id="@+id/notif_show_dot_if_truncated"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:checked="true"
android:text="@string/layout_show_dot_if_truncated" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/layout_status_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@@ -934,18 +931,11 @@
android:paddingEnd="0dp"
android:text="0" />
</LinearLayout>
<CheckBox
android:id="@+id/status_show_dot_if_truncated"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:checked="true"
android:text="@string/layout_show_dot_if_truncated" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/layout_ordering_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@@ -1031,6 +1021,7 @@
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/layout_padding_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@@ -1,650 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/notification_icons_title"
android:textAppearance="?attr/textAppearanceHeadline5" />
<TextView
android:id="@+id/notification_icons_unlocked_obsolete_hint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="@string/notification_icons_unlocked_obsolete_hint"
android:textAppearance="?attr/textAppearanceBody2"
android:visibility="gone" />
<com.google.android.material.card.MaterialCardView
android:id="@+id/notification_icons_unlocked_section"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
app:cardUseCompatPadding="true"
app:strokeColor="@color/sbt_card_outline"
app:strokeWidth="1dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/section_unlocked"
android:textAppearance="?attr/textAppearanceSubtitle1"
android:textAllCaps="true"
android:letterSpacing="0.03"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/label_max_icons_per_row"
android:textAppearance="?attr/textAppearanceBody2" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/unlocked_max_icons_minus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="-" />
<EditText
android:id="@+id/unlocked_max_icons_input"
android:layout_width="72dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:ems="3"
android:gravity="center"
android:importantForAutofill="no"
android:imeOptions="actionDone"
android:inputType="number"
android:maxLines="1"
android:singleLine="true"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<com.google.android.material.button.MaterialButton
android:id="@+id/unlocked_max_icons_plus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="+" />
</LinearLayout>
<com.google.android.material.slider.Slider
android:id="@+id/unlocked_max_icons_slider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<TextView
android:id="@+id/notification_icons_layout_required_hint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="@string/notification_icons_layout_required_hint"
android:textAppearance="?attr/textAppearanceBody2"
android:visibility="gone" />
<LinearLayout
android:id="@+id/notification_icons_layout_sections"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
app:cardUseCompatPadding="true"
app:strokeColor="@color/sbt_card_outline"
app:strokeWidth="1dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/section_cards_mode"
android:textAppearance="?attr/textAppearanceSubtitle1"
android:textAllCaps="true"
android:letterSpacing="0.03"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/section_aod"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/label_max_icons_per_row"
android:textAppearance="?attr/textAppearanceBody2" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/cards_aod_max_icons_minus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="-" />
<EditText
android:id="@+id/cards_aod_max_icons_input"
android:layout_width="72dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:ems="3"
android:gravity="center"
android:importantForAutofill="no"
android:imeOptions="actionDone"
android:inputType="number"
android:maxLines="1"
android:singleLine="true"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<com.google.android.material.button.MaterialButton
android:id="@+id/cards_aod_max_icons_plus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="+" />
</LinearLayout>
<com.google.android.material.slider.Slider
android:id="@+id/cards_aod_max_icons_slider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/label_max_rows"
android:textAppearance="?attr/textAppearanceBody2" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/cards_aod_max_rows_minus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="-" />
<EditText
android:id="@+id/cards_aod_max_rows_input"
android:layout_width="72dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:ems="3"
android:gravity="center"
android:importantForAutofill="no"
android:imeOptions="actionDone"
android:inputType="number"
android:maxLines="1"
android:singleLine="true"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<com.google.android.material.button.MaterialButton
android:id="@+id/cards_aod_max_rows_plus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="+" />
</LinearLayout>
<com.google.android.material.slider.Slider
android:id="@+id/cards_aod_max_rows_slider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/cards_aod_even_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/label_even_distribution" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/cards_aod_limit_width_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="@string/label_limit_screen_width" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/section_lockscreen"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/label_max_icons_per_row"
android:textAppearance="?attr/textAppearanceBody2" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/cards_lock_max_icons_minus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="-" />
<EditText
android:id="@+id/cards_lock_max_icons_input"
android:layout_width="72dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:ems="3"
android:gravity="center"
android:importantForAutofill="no"
android:imeOptions="actionDone"
android:inputType="number"
android:maxLines="1"
android:singleLine="true"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<com.google.android.material.button.MaterialButton
android:id="@+id/cards_lock_max_icons_plus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="+" />
</LinearLayout>
<com.google.android.material.slider.Slider
android:id="@+id/cards_lock_max_icons_slider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/label_max_rows"
android:textAppearance="?attr/textAppearanceBody2" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/cards_lock_max_rows_minus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="-" />
<EditText
android:id="@+id/cards_lock_max_rows_input"
android:layout_width="72dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:ems="3"
android:gravity="center"
android:importantForAutofill="no"
android:imeOptions="actionDone"
android:inputType="number"
android:maxLines="1"
android:singleLine="true"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<com.google.android.material.button.MaterialButton
android:id="@+id/cards_lock_max_rows_plus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="+" />
</LinearLayout>
<com.google.android.material.slider.Slider
android:id="@+id/cards_lock_max_rows_slider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/cards_lock_even_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/label_even_distribution" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/cards_lock_limit_width_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="@string/label_limit_screen_width" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
app:cardUseCompatPadding="true"
app:strokeColor="@color/sbt_card_outline"
app:strokeWidth="1dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/section_icons_mode"
android:textAppearance="?attr/textAppearanceSubtitle1"
android:textAllCaps="true"
android:letterSpacing="0.03"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/section_aod"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/label_max_icons_per_row"
android:textAppearance="?attr/textAppearanceBody2" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/icons_aod_max_icons_minus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="-" />
<EditText
android:id="@+id/icons_aod_max_icons_input"
android:layout_width="72dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:ems="3"
android:gravity="center"
android:importantForAutofill="no"
android:imeOptions="actionDone"
android:inputType="number"
android:maxLines="1"
android:singleLine="true"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<com.google.android.material.button.MaterialButton
android:id="@+id/icons_aod_max_icons_plus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="+" />
</LinearLayout>
<com.google.android.material.slider.Slider
android:id="@+id/icons_aod_max_icons_slider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/label_max_rows"
android:textAppearance="?attr/textAppearanceBody2" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/icons_aod_max_rows_minus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="-" />
<EditText
android:id="@+id/icons_aod_max_rows_input"
android:layout_width="72dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:ems="3"
android:gravity="center"
android:importantForAutofill="no"
android:imeOptions="actionDone"
android:inputType="number"
android:maxLines="1"
android:singleLine="true"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<com.google.android.material.button.MaterialButton
android:id="@+id/icons_aod_max_rows_plus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="+" />
</LinearLayout>
<com.google.android.material.slider.Slider
android:id="@+id/icons_aod_max_rows_slider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/icons_aod_even_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/label_even_distribution" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/icons_aod_cutout_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:text="@string/label_cutout_aware" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/section_lockscreen"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/label_max_icons_per_row"
android:textAppearance="?attr/textAppearanceBody2" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/icons_lock_max_icons_minus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="-" />
<EditText
android:id="@+id/icons_lock_max_icons_input"
android:layout_width="72dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:ems="3"
android:gravity="center"
android:importantForAutofill="no"
android:imeOptions="actionDone"
android:inputType="number"
android:maxLines="1"
android:singleLine="true"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<com.google.android.material.button.MaterialButton
android:id="@+id/icons_lock_max_icons_plus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="+" />
</LinearLayout>
<com.google.android.material.slider.Slider
android:id="@+id/icons_lock_max_icons_slider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/label_max_rows"
android:textAppearance="?attr/textAppearanceBody2" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/icons_lock_max_rows_minus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="-" />
<EditText
android:id="@+id/icons_lock_max_rows_input"
android:layout_width="72dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:ems="3"
android:gravity="center"
android:importantForAutofill="no"
android:imeOptions="actionDone"
android:inputType="number"
android:maxLines="1"
android:singleLine="true"
android:textAppearance="?attr/textAppearanceSubtitle2" />
<com.google.android.material.button.MaterialButton
android:id="@+id/icons_lock_max_rows_plus"
style="?attr/materialButtonOutlinedStyle"
android:layout_width="48dp"
android:layout_height="wrap_content"
android:text="+" />
</LinearLayout>
<com.google.android.material.slider.Slider
android:id="@+id/icons_lock_max_rows_slider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/icons_lock_even_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/label_even_distribution" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/icons_lock_cutout_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:text="@string/label_cutout_aware" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
</LinearLayout>
</ScrollView>