|
|
|
@ -10,41 +10,62 @@
|
|
|
|
|
android:minHeight="72dp"
|
|
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
|
|
|
|
android:id="@+id/switch_widget"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_centerVertical="true" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
|
android:layout_toStartOf="@+id/switch_widget"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
|
android:id="@+id/text_setting_name"
|
|
|
|
|
style="@style/TextAppearance.Material3.HeadlineMedium"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textAlignment="viewStart"
|
|
|
|
|
android:textSize="17sp"
|
|
|
|
|
app:lineHeight="28dp"
|
|
|
|
|
tools:text="@string/frame_limit_enable" />
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
|
android:id="@+id/text_setting_description"
|
|
|
|
|
style="@style/TextAppearance.Material3.BodySmall"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
<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="17sp"
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
|
|
|
|
android:id="@+id/switch_widget"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
android:id="@+id/button_clear"
|
|
|
|
|
style="@style/Widget.Material3.Button.TonalButton"
|
|
|
|
|
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" />
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="@string/clear"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|