PlayerAndroid/app/src/main/res/layout/preference_dialog_library_c...

66 lines
2.6 KiB
XML
Raw Normal View History

2019-07-22 15:26:37 +00:00
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2019 Hemanth Savarala.
~
~ Licensed under the GNU General Public License v3
~
~ This is free software: you can redistribute it and/or modify it under
~ the terms of the GNU General Public License as published by
~ the Free Software Foundation either version 3 of the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
-->
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-01-06 05:34:09 +00:00
android:background="?attr/rectSelector"
2019-07-22 15:26:37 +00:00
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:minHeight="@dimen/md_listitem_height"
2019-07-22 15:26:37 +00:00
android:orientation="horizontal"
android:paddingStart="16dp"
2019-12-01 11:28:57 +00:00
android:paddingEnd="0dp"
2019-07-22 15:26:37 +00:00
tools:gravity="start|center_vertical">
2019-07-31 06:48:55 +00:00
<com.google.android.material.checkbox.MaterialCheckBox
2019-07-22 15:26:37 +00:00
android:id="@+id/checkbox"
android:layout_width="wrap_content"
2019-12-01 11:28:57 +00:00
android:layout_height="wrap_content"
2019-07-22 15:26:37 +00:00
android:background="@null"
android:clickable="false"
android:focusable="false"
android:gravity="center_vertical" />
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
2019-07-22 15:26:37 +00:00
android:id="@+id/title"
2019-09-28 17:52:49 +00:00
android:layout_width="0dp"
2019-07-22 15:26:37 +00:00
android:layout_height="match_parent"
android:layout_weight="1"
android:ellipsize="end"
android:gravity="center_vertical"
android:paddingHorizontal="16dp"
2019-07-22 15:26:37 +00:00
android:singleLine="true"
android:textAppearance="@style/TextViewNormal"
2019-12-01 11:28:57 +00:00
android:textColor="?android:attr/textColorPrimary"
2019-07-22 15:26:37 +00:00
android:textSize="@dimen/md_listitem_textsize"
tools:text="Item" />
2019-09-28 17:52:49 +00:00
<androidx.appcompat.widget.AppCompatImageView
2019-07-22 15:26:37 +00:00
android:id="@+id/drag_view"
android:layout_width="wrap_content"
2019-12-01 11:28:57 +00:00
android:layout_height="wrap_content"
2019-07-22 15:26:37 +00:00
android:layout_gravity="end|center_vertical"
android:clickable="false"
android:focusable="false"
2019-12-01 11:28:57 +00:00
android:padding="16dp"
2019-07-22 15:26:37 +00:00
android:tintMode="src_in"
2020-07-19 21:00:30 +00:00
app:srcCompat="@drawable/ic_drag_vertical"
2019-12-01 11:28:57 +00:00
app:tint="?attr/colorControlNormal"
2019-07-22 15:26:37 +00:00
tools:ignore="ContentDescription" />
</LinearLayout>