50 lines
1.8 KiB
XML
50 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:paddingHorizontal="8dp"
|
|
android:paddingVertical="12dp">
|
|
|
|
<io.legato.kazusa.lib.theme.view.ThemeCheckBox
|
|
android:id="@+id/cb_name"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginEnd="8dp"
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
<io.legato.kazusa.lib.theme.view.ThemeSwitch
|
|
android:id="@+id/swt_enabled"
|
|
android:name="@string/enable"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
tools:ignore="RtlSymmetry" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/iv_edit"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_marginStart="12dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:layout_gravity="center"
|
|
android:padding="4dp"
|
|
android:contentDescription="@string/edit"
|
|
android:src="@drawable/ic_edit" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/iv_delete"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:layout_marginStart="8dp"
|
|
android:padding="4dp"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_clear_all"
|
|
android:contentDescription="@string/delete"
|
|
tools:ignore="RtlHardcoded" />
|
|
|
|
</LinearLayout>
|