diff --git a/app/src/main/res/layout/preference_toggle_header.xml b/app/src/main/res/layout/preference_toggle_header.xml index b1f816337..4b0ed9431 100644 --- a/app/src/main/res/layout/preference_toggle_header.xml +++ b/app/src/main/res/layout/preference_toggle_header.xml @@ -1,70 +1,64 @@ - + style="@style/Widget.Material3.CardView.Filled" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginHorizontal="16dp" + android:layout_marginVertical="8dp" + android:paddingBottom="8dp" + app:cardCornerRadius="24dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - + android:baselineAligned="false" + android:clipChildren="false" + android:clipToPadding="false" + android:gravity="center_vertical" + android:minHeight="?android:attr/listPreferredItemHeightSmall" + android:padding="16dp"> + android:layout_weight="1" + android:orientation="vertical"> - - - + android:textAppearance="@style/TextAppearance.Material3.TitleLarge" + android:textSize="20sp" + tools:text="Title" /> - - - - - + android:layout_gravity="start" + android:maxLines="10" + android:textAppearance="@style/TextAppearance.Material3.TitleSmall" + tools:text="Subtitle" /> - + + + - + \ No newline at end of file