komikku/app/src/main/res/layout/migration_source_item.xml

39 lines
1.3 KiB
XML
Raw Normal View History

2019-07-31 01:29:12 +02: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="56dp"
android:background="@drawable/list_item_selector_background">
2019-07-31 01:29:12 +02:00
<ImageView
android:id="@+id/image"
android:layout_width="56dp"
android:layout_height="56dp"
android:paddingStart="16dp"
2019-07-31 01:29:12 +02:00
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_marginStart="72dp"
android:layout_marginEnd="56dp"
2019-07-31 01:29:12 +02:00
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="56dp"
android:layout_height="56dp"
2019-07-31 01:29:12 +02:00
android:scaleType="center"
android:layout_gravity="end"
app:srcCompat="@drawable/ic_drag_handle_24dp"
app:tint="?android:attr/textColorPrimary" />
2019-07-31 01:29:12 +02:00
</FrameLayout>