2020-07-17 17:53:44 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-01-30 14:59:11 +01:00
|
|
|
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-04-16 23:59:24 +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"
|
2022-03-11 15:58:08 +05:30
|
|
|
android:layout_margin="7.5dp"
|
2022-01-21 19:25:46 +01:00
|
|
|
app:cardCornerRadius="@dimen/cornerRadiusMedium"
|
|
|
|
app:cardElevation="2dp">
|
2020-07-17 17:53:44 +02:00
|
|
|
|
2021-01-30 14:59:11 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2021-04-16 23:59:24 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2020-07-17 17:53:44 +02:00
|
|
|
|
2021-01-30 14:59:11 +01:00
|
|
|
<ImageView
|
2021-04-16 23:59:24 +02:00
|
|
|
android:id="@+id/icon"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:contentDescription="@string/icon"
|
|
|
|
android:foreground="@drawable/background_gradient"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:src="@drawable/default_icon" />
|
2020-07-17 17:53:44 +02:00
|
|
|
|
2021-01-30 14:59:11 +01:00
|
|
|
<TextView
|
2021-04-16 23:59:24 +02:00
|
|
|
android:id="@+id/text_title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:paddingHorizontal="8dp"
|
2021-04-16 23:59:24 +02:00
|
|
|
android:singleLine="true"
|
2022-07-30 13:22:01 +02:00
|
|
|
android:textAlignment="viewStart"
|
2021-04-16 23:59:24 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
|
|
|
android:textColor="@android:color/white"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:textSize="15sp"
|
2021-04-16 23:59:24 +02:00
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constrainedWidth="true"
|
2022-08-21 07:40:32 -04:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/text_version"
|
2021-04-16 23:59:24 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="@id/icon"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/icon"
|
|
|
|
tools:text="Title" />
|
2020-07-17 17:53:44 +02:00
|
|
|
|
2021-01-30 14:59:11 +01:00
|
|
|
<TextView
|
2022-08-21 07:40:32 -04:00
|
|
|
android:id="@+id/text_version"
|
2021-04-16 23:59:24 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:alpha="0.95"
|
2022-08-07 03:52:14 +02:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:paddingHorizontal="8dp"
|
2022-08-07 03:52:14 +02:00
|
|
|
android:singleLine="true"
|
|
|
|
android:textAlignment="viewStart"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
|
|
|
|
android:textColor="@android:color/white"
|
2022-08-25 09:02:15 -04:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/text_author"
|
2022-08-07 03:52:14 +02:00
|
|
|
app:layout_constraintEnd_toEndOf="@id/icon"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/icon"
|
2022-08-21 07:40:32 -04:00
|
|
|
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="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-16 23:59:24 +02:00
|
|
|
android:layout_marginBottom="8dp"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:alpha="0.95"
|
2021-04-16 23:59:24 +02:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:paddingHorizontal="8dp"
|
2021-04-16 23:59:24 +02:00
|
|
|
android:singleLine="true"
|
2022-07-30 13:22:01 +02:00
|
|
|
android:textAlignment="viewStart"
|
2021-04-16 23:59:24 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
|
|
|
|
android:textColor="@android:color/white"
|
2022-01-21 12:19:39 +01:00
|
|
|
android:textSize="12sp"
|
2021-04-16 23:59:24 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/icon"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/icon"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/icon"
|
2022-01-21 12:19:39 +01:00
|
|
|
tools:text="Author" />
|
2021-01-30 14:59:11 +01:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|