2020-01-04 01:48:24 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:background="?attr/selectable_list_drawable">
|
|
|
|
|
|
|
|
<ImageView
|
2020-02-17 02:02:07 +01:00
|
|
|
android:id="@+id/edit_button"
|
2020-01-04 01:48:24 +01:00
|
|
|
android:layout_width="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:layout_height="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:paddingLeft="@dimen/material_component_lists_icon_left_padding"
|
|
|
|
android:paddingStart="@dimen/material_component_lists_icon_left_padding"
|
|
|
|
android:paddingRight="0dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
tools:src="@mipmap/ic_launcher_round"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="@dimen/material_component_lists_text_left_padding"
|
|
|
|
android:layout_marginStart="@dimen/material_component_lists_text_left_padding"
|
|
|
|
android:layout_marginRight="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:layout_marginEnd="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:textAppearance="@style/TextAppearance.Regular.SubHeading"
|
|
|
|
tools:text="Title"/>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/reorder"
|
|
|
|
android:layout_width="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:layout_height="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
app:srcCompat="@drawable/ic_reorder_grey_24dp"
|
|
|
|
android:tint="?android:attr/textColorPrimary"/>
|
|
|
|
|
|
|
|
</FrameLayout>
|