2018-07-27 18:37:33 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2018-11-05 19:23:07 +05:30
|
|
|
<com.google.android.material.card.MaterialCardView
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-05-14 19:07:15 +05:30
|
|
|
android:layout_margin="4dp"
|
2018-08-08 13:33:38 +05:30
|
|
|
app:cardCornerRadius="8dp"
|
2020-07-18 02:55:04 +05:30
|
|
|
|
2018-08-08 13:33:38 +05:30
|
|
|
app:contentPadding="12dp">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2020-05-14 19:07:15 +05:30
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-01-06 11:04:09 +05:30
|
|
|
android:background="?rectSelector"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-09-28 23:22:49 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-12-06 15:53:03 +05:30
|
|
|
android:id="@+id/itemPrice"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2020-05-14 19:07:15 +05:30
|
|
|
android:textAppearance="@style/TextViewSubtitle1"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:textStyle="bold"
|
2020-05-14 19:07:15 +05:30
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:ignore="MissingPrefix"
|
|
|
|
tools:text="$9" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2020-05-14 19:07:15 +05:30
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/itemImage"
|
|
|
|
android:layout_width="42dp"
|
|
|
|
android:layout_height="42dp"
|
|
|
|
android:scaleType="centerInside"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/itemPrice"
|
|
|
|
app:srcCompat="@drawable/ic_github_circle_white_24dp"
|
|
|
|
app:tint="?attr/colorControlNormal" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
|
|
|
|
2019-09-28 23:22:49 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-12-06 15:53:03 +05:30
|
|
|
android:id="@+id/itemTitle"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2019-09-02 20:21:53 +05:30
|
|
|
android:textAppearance="@style/TextViewBody2"
|
2020-05-14 19:07:15 +05:30
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/itemImage"
|
2019-12-26 20:55:41 +05:30
|
|
|
tools:text="@tools:sample/full_names" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-28 23:22:49 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-12-06 15:53:03 +05:30
|
|
|
android:id="@+id/itemText"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-02 20:21:53 +05:30
|
|
|
android:textAppearance="@style/TextViewBody1"
|
2020-05-14 19:07:15 +05:30
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/itemTitle"
|
2019-12-26 20:55:41 +05:30
|
|
|
tools:text="@tools:sample/full_names" />
|
2020-05-14 19:07:15 +05:30
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-11-05 19:23:07 +05:30
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2018-07-27 18:37:33 +05:30
|
|
|
</FrameLayout>
|