Migration Item fixes (#744)

* Migration Item fixes

* Applying order
This commit is contained in:
Dexroneum 2022-11-29 21:03:04 +00:00 committed by GitHub
parent 99947a29f0
commit f7ea3b6d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,38 +1,45 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="56dp" android:layout_height="wrap_content"
android:background="@drawable/list_item_selector_background"> android:background="@drawable/list_item_selector_background">
<ImageView <ImageView
android:id="@+id/image" android:id="@+id/image"
android:layout_width="56dp" android:layout_width="60dp"
android:layout_height="56dp" android:layout_height="60dp"
android:paddingStart="16dp" android:paddingStart="8dp"
android:paddingEnd="0dp" android:paddingEnd="8dp"
tools:src="@mipmap/ic_launcher_round" /> app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@mipmap/ic_launcher_round" />
<TextView <TextView
android:id="@+id/title" android:id="@+id/title"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="0dp"
android:layout_gravity="center_vertical"
android:layout_marginStart="72dp"
android:layout_marginEnd="56dp"
android:ellipsize="end" android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="1" android:maxLines="1"
android:paddingStart="8dp"
android:text="Title"
android:textAppearance="?attr/textAppearanceTitleSmall" android:textAppearance="?attr/textAppearanceTitleSmall"
tools:text="Title" /> app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/reorder"
app:layout_constraintStart_toEndOf="@+id/image"
app:layout_constraintTop_toTopOf="parent" />
<ImageView <ImageView
android:id="@+id/reorder" android:id="@+id/reorder"
android:layout_width="56dp" android:layout_width="60dp"
android:layout_height="56dp" android:layout_height="60dp"
android:layout_gravity="end"
android:scaleType="center" android:scaleType="center"
app:srcCompat="@drawable/ic_drag_handle_24dp" app:layout_constraintBottom_toBottomOf="parent"
app:tint="?android:attr/textColorPrimary" /> app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_drag_handle_24dp" />
</FrameLayout> </androidx.constraintlayout.widget.ConstraintLayout>