2019-07-04 00:14:28 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-07-17 17:53:44 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-04-12 21:43:29 +05:30
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-09-14 18:11:00 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-12 21:43:29 +05:30
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2020-07-17 17:53:44 +02:00
|
|
|
android:padding="16dp">
|
2019-07-04 00:14:28 +05:30
|
|
|
|
|
|
|
<ImageView
|
2019-09-14 18:11:00 +05:30
|
|
|
android:id="@+id/icon"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
2020-07-17 17:53:44 +02:00
|
|
|
android:contentDescription="@string/icon"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:src="@drawable/default_icon" />
|
2019-07-04 00:14:28 +05:30
|
|
|
|
|
|
|
<TextView
|
2019-09-14 18:11:00 +05:30
|
|
|
android:id="@+id/text_title"
|
2020-04-12 21:43:29 +05:30
|
|
|
android:layout_width="wrap_content"
|
2019-09-14 18:11:00 +05:30
|
|
|
android:layout_height="wrap_content"
|
2020-07-17 17:53:44 +02:00
|
|
|
android:layout_marginStart="10dp"
|
2020-04-12 21:43:29 +05:30
|
|
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
2020-07-17 17:53:44 +02:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/text_subtitle"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/icon"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="Title" />
|
2019-07-04 00:14:28 +05:30
|
|
|
|
|
|
|
<TextView
|
2019-09-14 18:11:00 +05:30
|
|
|
android:id="@+id/text_subtitle"
|
2020-04-12 21:43:29 +05:30
|
|
|
android:layout_width="wrap_content"
|
2019-09-14 18:11:00 +05:30
|
|
|
android:layout_height="wrap_content"
|
2020-07-17 17:53:44 +02:00
|
|
|
android:layout_marginStart="10dp"
|
2019-09-14 18:11:00 +05:30
|
|
|
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
|
2020-07-17 17:53:44 +02:00
|
|
|
android:textColor="@android:color/tertiary_text_light"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/icon"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/text_title"
|
|
|
|
tools:text="SubTitle" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|