25 lines
1.7 KiB
XML
25 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- one row of the settings screen: icon, title + description, value -->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="6dp"
|
|
android:background="@drawable/setting_row"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="56dp"
|
|
android:orientation="horizontal"
|
|
android:paddingStart="18dp"
|
|
android:paddingTop="10dp"
|
|
android:paddingEnd="18dp"
|
|
android:paddingBottom="10dp">
|
|
|
|
<ImageView android:id="@+id/s_icon" android:layout_width="22dp" android:layout_height="22dp" android:layout_marginEnd="16dp" android:contentDescription="@null" />
|
|
<LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:orientation="vertical">
|
|
<TextView android:id="@+id/s_title" android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="@color/text" android:textSize="15sp" />
|
|
<TextView android:id="@+id/s_desc" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="2dp" android:lineSpacingExtra="1dp" android:textColor="@color/muted" android:textSize="12sp" />
|
|
</LinearLayout>
|
|
<TextView android:id="@+id/s_value" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="16dp" android:minWidth="64dp" android:gravity="center" android:paddingStart="12dp" android:paddingTop="4dp" android:paddingEnd="12dp" android:paddingBottom="4dp" android:textColor="@color/text" android:textSize="13sp" />
|
|
</LinearLayout>
|