You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<data>
<variable
name="index"
type="String" />
<variable
name="item"
type="String" />
</data>
<LinearLayout
android:layout_marginTop="2dp"
android:layout_width="match_parent"
android:layout_height="45dp"
android:background="@color/item_bg">
<TextView
android:id="@+id/item_index"
style="@style/item_text_style"
android:layout_width="60dp"
android:layout_height="match_parent"
android:text='@{index}' />
<View
android:layout_width="2dp"
android:layout_height="match_parent"
android:background="@color/white" />
<TextView
style="@style/item_text_style"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="@{item}" />
<View
android:layout_width="2dp"
android:layout_height="match_parent"
android:background="@color/white" />
<ImageButton
style="@style/item_text_style"
android:layout_width="80dp"
android:layout_height="match_parent"
android:src="@mipmap/ic_delete"/>
</LinearLayout>
</layout>