tachiyomi/app/src/main/res/layout/navigation_view_checkbox.xml

25 lines
962 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2020-02-22 00:43:50 +01:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="?attr/listPreferredItemHeightSmall"
xmlns:tools="http://schemas.android.com/tools"
android:background="?attr/selectableItemBackground"
2020-02-22 00:43:50 +01:00
android:focusable="true"
android:paddingStart="?attr/listPreferredItemPaddingStart"
android:paddingEnd="?attr/listPreferredItemPaddingEnd">
<CheckBox
android:id="@+id/nav_view_item"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@android:color/transparent"
2020-02-22 00:43:50 +01:00
android:clickable="false"
android:gravity="center_vertical|start"
android:maxLines="1"
2021-05-22 16:10:41 +02:00
android:paddingHorizontal="16dp"
2021-11-14 16:23:44 +01:00
android:textAppearance="?attr/textAppearanceBodyMedium"
tools:text="Title" />
</LinearLayout>