47 lines
1.4 KiB
XML
47 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/llContent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
>
|
|
|
|
<!-- Need to wrap DragListView in another layout for wrap_content to work for some reason -->
|
|
<com.woxthebox.draglistview.DragListView
|
|
android:id="@+id/drag_list_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4dp"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:text="@string/highlight_desc"
|
|
android:textSize="12sp"
|
|
|
|
/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnAdd"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:contentDescription="@string/new_item"
|
|
android:src="?attr/ic_add"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout> |