2018-07-27 18:37:33 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-09-27 21:06:10 +05:30
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-27 18:37:33 +05:30
|
|
|
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"
|
2020-01-03 18:10:42 +05:30
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:layout_marginEnd="4dp"
|
2019-12-08 20:05:03 +05:30
|
|
|
android:layout_marginStart="4dp"
|
|
|
|
android:layout_marginTop="2dp"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:foreground="?rectSelector"
|
2019-09-27 21:06:10 +05:30
|
|
|
android:gravity="center_vertical"
|
2019-02-24 01:40:15 +05:30
|
|
|
android:minHeight="64dp"
|
2019-09-27 21:06:10 +05:30
|
|
|
android:orientation="horizontal"
|
2018-07-27 18:37:33 +05:30
|
|
|
tools:ignore="MissingPrefix">
|
|
|
|
|
2019-09-28 23:22:49 +05:30
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2019-09-27 21:06:10 +05:30
|
|
|
android:id="@+id/drag_view"
|
|
|
|
android:layout_width="wrap_content"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_height="match_parent"
|
2019-09-27 21:06:10 +05:30
|
|
|
android:layout_gravity="center_vertical|start"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:srcCompat="@drawable/ic_drag_vertical_white_24dp"
|
2019-12-01 16:58:57 +05:30
|
|
|
app:tint="?attr/colorControlNormal"
|
2019-09-27 21:06:10 +05:30
|
|
|
tools:ignore="ContentDescription"
|
|
|
|
tools:visibility="visible" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-27 21:06:10 +05:30
|
|
|
<FrameLayout
|
2019-11-08 22:37:30 +05:30
|
|
|
android:id="@+id/imageContainer"
|
2019-09-27 21:06:10 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0"
|
2020-01-03 18:10:42 +05:30
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:paddingStart="16dp">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-27 21:06:10 +05:30
|
|
|
<com.google.android.material.card.MaterialCardView
|
2019-11-08 22:37:30 +05:30
|
|
|
android:id="@+id/imageTextContainer"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
2019-09-27 21:06:10 +05:30
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
app:cardCornerRadius="6dp">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-27 21:06:10 +05:30
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_gravity="center_vertical"
|
2019-09-27 21:06:10 +05:30
|
|
|
android:gravity="center_vertical"
|
2019-09-28 23:22:49 +05:30
|
|
|
android:scaleType="centerCrop"
|
|
|
|
tools:srcCompat="@tools:sample/backgrounds/scenic[16]" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-27 21:06:10 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2019-11-08 22:37:30 +05:30
|
|
|
android:id="@+id/imageText"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:layout_width="wrap_content"
|
2019-09-27 21:06:10 +05:30
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
2018-07-27 18:37:33 +05:30
|
|
|
android:maxLines="1"
|
2019-09-27 21:06:10 +05:30
|
|
|
android:minHeight="40dp"
|
|
|
|
android:textAppearance="@style/TextViewSubtitle2"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:text="1"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</FrameLayout>
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-27 21:06:10 +05:30
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/title_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1.0"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="vertical"
|
2020-01-03 18:10:42 +05:30
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:paddingStart="16dp">
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-27 21:06:10 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextViewSubtitle1"
|
2019-12-01 16:58:57 +05:30
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2020-01-03 18:10:42 +05:30
|
|
|
tools:text="@tools:sample/lorem/random" />
|
2018-07-27 18:37:33 +05:30
|
|
|
|
2019-09-27 21:06:10 +05:30
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
2019-12-01 16:58:57 +05:30
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2020-01-03 18:10:42 +05:30
|
|
|
tools:text="@tools:sample/lorem/random" />
|
2018-07-27 18:37:33 +05:30
|
|
|
</LinearLayout>
|
2019-09-27 21:06:10 +05:30
|
|
|
|
2019-09-28 23:22:49 +05:30
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2019-09-27 21:06:10 +05:30
|
|
|
android:id="@+id/menu"
|
|
|
|
style="@style/OverFlowButton"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-09-28 23:22:49 +05:30
|
|
|
android:layout_weight="0"
|
2019-12-01 16:58:57 +05:30
|
|
|
app:tint="?attr/colorControlNormal" />
|
2019-09-27 21:06:10 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|