command_search_list_field.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<layout xmlns:android="http://schemas.android.com/apk/res/android"
 3    xmlns:app="http://schemas.android.com/apk/res-auto">
 4    <LinearLayout
 5        android:layout_width="fill_parent"
 6        android:layout_height="wrap_content"
 7        android:paddingBottom="16dp"
 8        android:orientation="vertical">
 9
10        <TextView
11            android:id="@+id/label"
12            android:layout_width="match_parent"
13            android:layout_height="wrap_content"
14            android:paddingLeft="13dp"
15            android:paddingRight="8dp"
16            android:paddingBottom="8dp"
17            android:textAppearance="?textAppearanceBodyMedium" />
18
19        <EditText
20            android:id="@+id/search"
21            android:layout_width="match_parent"
22            android:layout_height="wrap_content"
23            android:layout_marginLeft="8dp"
24            android:layout_marginRight="8dp"
25            android:ems="10"
26            android:imeOptions="actionNext"
27            android:minLines="1" />
28
29        <ListView
30            android:id="@+id/list"
31            android:layout_width="match_parent"
32            android:layout_height="200dp"
33            android:choiceMode="singleChoice" />
34
35        <TextView
36            android:id="@+id/desc"
37            android:layout_width="match_parent"
38            android:layout_height="wrap_content"
39            android:paddingLeft="16dp"
40            android:paddingRight="8dp"
41            android:textStyle="italic"
42            android:textAppearance="?textAppearanceBodySmall" />
43
44    </LinearLayout>
45</layout>