|
|
@ -1,16 +1,16 @@
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:minHeight="72dp"
|
|
|
|
android:minHeight="72dp"
|
|
|
|
|
|
|
|
android:paddingVertical="@dimen/spacing_large"
|
|
|
|
android:paddingStart="@dimen/spacing_large"
|
|
|
|
android:paddingStart="@dimen/spacing_large"
|
|
|
|
android:paddingEnd="24dp"
|
|
|
|
android:paddingEnd="24dp">
|
|
|
|
android:paddingVertical="@dimen/spacing_large">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
|
|
|
android:id="@+id/switch_widget"
|
|
|
|
android:id="@+id/switch_widget"
|
|
|
@ -19,32 +19,35 @@
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
<LinearLayout
|
|
|
|
style="@style/TextAppearance.Material3.BodySmall"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:id="@+id/text_setting_description"
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
|
|
|
|
android:layout_alignStart="@+id/text_setting_name"
|
|
|
|
|
|
|
|
android:layout_below="@+id/text_setting_name"
|
|
|
|
|
|
|
|
android:layout_marginEnd="@dimen/spacing_large"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_small"
|
|
|
|
|
|
|
|
android:layout_toStartOf="@+id/switch_widget"
|
|
|
|
|
|
|
|
android:textAlignment="viewStart"
|
|
|
|
|
|
|
|
tools:text="@string/frame_limit_enable_description" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
|
|
|
|
style="@style/TextAppearance.Material3.HeadlineMedium"
|
|
|
|
|
|
|
|
android:id="@+id/text_setting_name"
|
|
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginEnd="@dimen/spacing_large"
|
|
|
|
android:layout_marginEnd="@dimen/spacing_large"
|
|
|
|
android:layout_toStartOf="@+id/switch_widget"
|
|
|
|
android:layout_toStartOf="@+id/switch_widget"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textAlignment="viewStart"
|
|
|
|
android:orientation="vertical">
|
|
|
|
app:lineHeight="28dp"
|
|
|
|
|
|
|
|
tools:text="@string/frame_limit_enable" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
|
|
|
|
android:id="@+id/text_setting_name"
|
|
|
|
|
|
|
|
style="@style/TextAppearance.Material3.HeadlineMedium"
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:textAlignment="viewStart"
|
|
|
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
|
|
|
app:lineHeight="28dp"
|
|
|
|
|
|
|
|
tools:text="@string/frame_limit_enable" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
|
|
|
|
android:id="@+id/text_setting_description"
|
|
|
|
|
|
|
|
style="@style/TextAppearance.Material3.BodySmall"
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_small"
|
|
|
|
|
|
|
|
android:textAlignment="viewStart"
|
|
|
|
|
|
|
|
tools:text="@string/frame_limit_enable_description" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|