53 lines
2.0 KiB
XML
53 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/iv_card"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_147"
|
|
app:cardCornerRadius="@dimen/dp_10"
|
|
app:cardElevation="0dp"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/iv_image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="centerCrop" />
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.appcompat.widget.AppCompatCheckBox
|
|
android:id="@+id/cb_one"
|
|
android:layout_width="@dimen/dp_19"
|
|
android:layout_height="@dimen/dp_19"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:layout_marginEnd="@dimen/dp_5"
|
|
android:background="@null"
|
|
android:clickable="false"
|
|
android:focusable="false"
|
|
android:focusableInTouchMode="false"
|
|
android:visibility="visible"
|
|
app:buttonCompat="@drawable/tp_unit_store"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginVertical="@dimen/dp_5"
|
|
android:ellipsize="end"
|
|
android:lineSpacingExtra="@dimen/dp_2"
|
|
android:maxLines="2"
|
|
android:text="Salvation Mispaid"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/sp_12"
|
|
app:layout_constraintTop_toBottomOf="@+id/iv_card" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |