32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
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:descendantFocusability="blocksDescendants"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="12dp"
|
|
android:minHeight="48dp"
|
|
android:paddingVertical="3dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tvName"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:textSize="20sp"
|
|
tools:text="text..." />
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnDelete"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginStart="4dp"
|
|
android:background="@drawable/btn_bg_transparent_round6dp"
|
|
android:contentDescription="@string/delete"
|
|
android:src="@drawable/ic_delete"
|
|
app:tint="?attr/colorTextContent" />
|
|
</LinearLayout>
|