misp-bump/app/src/main/res/layout/material_preference_text.xml

64 lines
2.6 KiB
XML
Raw Normal View History

2019-06-11 14:52:41 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-06-19 20:01:49 +02:00
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
2019-06-11 14:52:41 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2019-06-19 20:01:49 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/rootLayout"
android:clickable="true"
android:focusable="false"
android:focusableInTouchMode="false"
2019-06-11 14:52:41 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-06-19 20:01:49 +02:00
android:foreground="?attr/selectableItemBackground">
2019-06-11 14:52:41 +02:00
<ImageView
2019-06-19 20:01:49 +02:00
tools:src="@drawable/ic_language"
2019-06-11 14:52:41 +02:00
android:id="@+id/material_preference_src"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="16dp"
2019-06-11 14:52:41 +02:00
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:tint="@color/colorPrimaryDark"
2019-06-19 20:01:49 +02:00
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"
2019-06-11 14:52:41 +02:00
app:layout_constraintBottom_toBottomOf="@+id/material_preference_subtitle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/material_preference_title"
2019-06-19 20:01:49 +02:00
tools:ignore="ContentDescription" />
2019-06-11 14:52:41 +02:00
<TextView
android:id="@+id/material_preference_title"
2019-06-19 20:01:49 +02:00
tools:text="Title"
2019-06-11 14:52:41 +02:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
2019-06-11 14:52:41 +02:00
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
2019-06-11 14:52:41 +02:00
android:textAppearance="@style/Text.Title"
2019-06-19 20:01:49 +02:00
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"
2019-06-11 14:52:41 +02:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/material_preference_src"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/material_preference_subtitle"
2019-06-19 20:01:49 +02:00
tools:text="Subtitle"
2019-06-11 14:52:41 +02:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
2019-06-11 14:52:41 +02:00
android:layout_marginBottom="16dp"
android:textAppearance="@style/Text.SubTitle"
2019-06-19 20:01:49 +02:00
android:clickable="false"
android:focusable="false"
android:focusableInTouchMode="false"
2019-06-11 14:52:41 +02:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/material_preference_src"
app:layout_constraintTop_toBottomOf="@+id/material_preference_title" />
</androidx.constraintlayout.widget.ConstraintLayout>