2018-07-27 13:07:33 +00:00
|
|
|
<?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 13:53:07 +00:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-05-14 13:37:15 +00:00
|
|
|
android:layout_margin="4dp"
|
2018-08-08 08:03:38 +00:00
|
|
|
app:cardCornerRadius="8dp"
|
2020-07-17 21:25:04 +00:00
|
|
|
|
2018-08-08 08:03:38 +00:00
|
|
|
app:contentPadding="12dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-05-14 13:37:15 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2020-01-06 05:34:09 +00:00
|
|
|
android:background="?rectSelector"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-09-28 17:52:49 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-12-06 10:23:03 +00:00
|
|
|
android:id="@+id/itemPrice"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2020-05-14 13:37:15 +00:00
|
|
|
android:textAppearance="@style/TextViewSubtitle1"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:textStyle="bold"
|
2020-05-14 13:37:15 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:ignore="MissingPrefix"
|
|
|
|
tools:text="$9" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2020-05-14 13:37:15 +00:00
|
|
|
<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"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:srcCompat="@drawable/ic_github_circle"
|
2020-05-14 13:37:15 +00:00
|
|
|
app:tint="?attr/colorControlNormal" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
|
|
|
|
2019-09-28 17:52:49 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-12-06 10:23:03 +00:00
|
|
|
android:id="@+id/itemTitle"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2019-09-02 14:51:53 +00:00
|
|
|
android:textAppearance="@style/TextViewBody2"
|
2020-05-14 13:37:15 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/itemImage"
|
2019-12-26 15:25:41 +00:00
|
|
|
tools:text="@tools:sample/full_names" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-09-28 17:52:49 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-12-06 10:23:03 +00:00
|
|
|
android:id="@+id/itemText"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-02 14:51:53 +00:00
|
|
|
android:textAppearance="@style/TextViewBody1"
|
2020-05-14 13:37:15 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/itemTitle"
|
2019-12-26 15:25:41 +00:00
|
|
|
tools:text="@tools:sample/full_names" />
|
2020-05-14 13:37:15 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-11-05 13:53:07 +00:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2018-07-27 13:07:33 +00:00
|
|
|
</FrameLayout>
|