|
@@ -1,9 +1,10 @@
|
|
|
<?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"
|
|
@@ -11,31 +12,40 @@
|
|
|
android:minHeight="72dp"
|
|
android:minHeight="72dp"
|
|
|
android:padding="@dimen/spacing_large">
|
|
android:padding="@dimen/spacing_large">
|
|
|
|
|
|
|
|
- <com.google.android.material.textview.MaterialTextView
|
|
|
|
|
- style="@style/TextAppearance.Material3.HeadlineMedium"
|
|
|
|
|
- android:id="@+id/text_setting_name"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentEnd="true"
|
|
|
|
|
- android:layout_alignParentStart="true"
|
|
|
|
|
- android:layout_alignParentTop="true"
|
|
|
|
|
- android:textSize="16sp"
|
|
|
|
|
- android:textAlignment="viewStart"
|
|
|
|
|
- app:lineHeight="28dp"
|
|
|
|
|
- tools:text="Setting Name" />
|
|
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- style="@style/TextAppearance.Material3.BodySmall"
|
|
|
|
|
- android:id="@+id/text_setting_description"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_alignParentEnd="true"
|
|
|
|
|
- android:layout_alignParentStart="true"
|
|
|
|
|
- android:layout_alignStart="@+id/text_setting_name"
|
|
|
|
|
- android:layout_below="@+id/text_setting_name"
|
|
|
|
|
- android:layout_marginTop="@dimen/spacing_small"
|
|
|
|
|
- android:visibility="visible"
|
|
|
|
|
- android:textAlignment="viewStart"
|
|
|
|
|
- tools:text="@string/app_disclaimer" />
|
|
|
|
|
|
|
+ <com.google.android.material.textview.MaterialTextView
|
|
|
|
|
+ android:id="@+id/text_setting_name"
|
|
|
|
|
+ style="@style/TextAppearance.Material3.HeadlineMedium"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:textAlignment="viewStart"
|
|
|
|
|
+ android:textSize="16sp"
|
|
|
|
|
+ app:lineHeight="22dp"
|
|
|
|
|
+ tools:text="Setting Name" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.google.android.material.textview.MaterialTextView
|
|
|
|
|
+ android:id="@+id/text_setting_description"
|
|
|
|
|
+ style="@style/TextAppearance.Material3.BodySmall"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/spacing_small"
|
|
|
|
|
+ android:textAlignment="viewStart"
|
|
|
|
|
+ tools:text="@string/app_disclaimer" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.google.android.material.textview.MaterialTextView
|
|
|
|
|
+ android:id="@+id/text_setting_value"
|
|
|
|
|
+ style="@style/TextAppearance.Material3.LabelMedium"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/spacing_small"
|
|
|
|
|
+ android:textAlignment="viewStart"
|
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
|
+ tools:text="1x" />
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|