2018-09-05 04:54:17 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-10-09 20:24:02 +02:00
|
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-09-05 04:54:17 +02:00
|
|
|
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"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginTop="3dp"
|
2020-10-09 20:24:02 +02:00
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
android:focusable="true"
|
2018-09-05 04:54:17 +02:00
|
|
|
android:minHeight="?listPreferredItemHeightSmall"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
app:cardCornerRadius="5dp"
|
|
|
|
app:cardElevation="4dp">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical">
|
|
|
|
|
2019-10-04 14:59:08 +02:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-09-05 04:54:17 +02:00
|
|
|
android:id="@+id/tabIcon"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
tools:ignore="ContentDescription,RtlHardcoded"
|
2021-03-27 15:45:49 +01:00
|
|
|
tools:src="@drawable/ic_kiosk_hot" />
|
2018-09-05 04:54:17 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tabName"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginTop="6dp"
|
2020-10-09 20:24:02 +02:00
|
|
|
android:layout_marginBottom="6dp"
|
2018-09-05 04:54:17 +02:00
|
|
|
android:layout_toLeftOf="@+id/handle"
|
|
|
|
android:layout_toRightOf="@+id/tabIcon"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:textAppearance="?textAppearanceListItem"
|
|
|
|
tools:ignore="RtlHardcoded"
|
2020-10-09 20:24:02 +02:00
|
|
|
tools:text="Lorem ipsum dolor sit amet" />
|
2018-09-05 04:54:17 +02:00
|
|
|
|
2019-10-04 14:59:08 +02:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2018-09-05 04:54:17 +02:00
|
|
|
android:id="@+id/handle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingTop="12dp"
|
2020-10-09 20:24:02 +02:00
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:paddingBottom="12dp"
|
2021-03-27 15:45:49 +01:00
|
|
|
app:srcCompat="@drawable/ic_drag_handle"
|
2020-10-09 20:24:02 +02:00
|
|
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
2018-09-05 04:54:17 +02:00
|
|
|
</RelativeLayout>
|
2020-10-09 20:24:02 +02:00
|
|
|
</androidx.cardview.widget.CardView>
|