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"
|
2021-03-29 18:23:01 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/item_click_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:paddingVertical="8dp">
|
2019-07-04 00:14:28 +05:30
|
|
|
|
2022-01-21 12:19:39 +01:00
|
|
|
<com.google.android.material.imageview.ShapeableImageView
|
2021-03-29 18:23:01 +02:00
|
|
|
android:id="@+id/icon"
|
2021-04-16 23:59:24 +02:00
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="56dp"
|
2021-03-29 18:23:01 +02:00
|
|
|
android:contentDescription="@string/icon"
|
|
|
|
android:focusable="false"
|
2022-01-21 12:19:39 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2021-03-29 18:23:01 +02:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2022-01-21 19:25:46 +01:00
|
|
|
app:shapeAppearance="?attr/shapeAppearanceSmallComponent"
|
2021-03-29 18:23:01 +02:00
|
|
|
tools:src="@drawable/default_icon" />
|
2019-07-04 00:14:28 +05:30
|
|
|
|
|
|
|
<TextView
|
2021-03-29 18:23:01 +02:00
|
|
|
android:id="@+id/text_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
2021-03-29 18:23:01 +02:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
|
|
|
app:layout_constrainedWidth="true"
|
2022-08-21 07:40:32 -04:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/text_version"
|
2021-03-29 18:23:01 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/icon"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="Title" />
|
2019-07-04 00:14:28 +05:30
|
|
|
|
|
|
|
<TextView
|
2022-08-21 07:40:32 -04:00
|
|
|
android:id="@+id/text_version"
|
2021-03-29 18:23:01 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:singleLine="true"
|
2021-03-29 18:23:01 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
|
|
|
|
android:textColor="@android:color/tertiary_text_light"
|
|
|
|
app:layout_constrainedWidth="true"
|
2022-08-25 09:02:15 -04:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/text_author"
|
2021-03-29 18:23:01 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0"
|
2022-01-21 12:19:39 +01:00
|
|
|
app:layout_constraintStart_toStartOf="@id/text_title"
|
2022-08-21 07:40:32 -04:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/text_title"
|
|
|
|
tools:text="Version" />
|
2022-08-07 03:52:14 +02:00
|
|
|
|
|
|
|
<TextView
|
2022-08-25 09:02:15 -04:00
|
|
|
android:id="@+id/text_author"
|
2022-08-07 03:52:14 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:singleLine="true"
|
2022-08-07 03:52:14 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
|
|
|
|
android:textColor="@android:color/tertiary_text_light"
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0"
|
2022-01-21 12:19:39 +01:00
|
|
|
app:layout_constraintStart_toStartOf="@id/text_title"
|
2022-08-21 07:40:32 -04:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/text_version"
|
2022-01-21 12:19:39 +01:00
|
|
|
tools:text="Author" />
|
2020-07-17 17:53:44 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|