command_spinner_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="@style/TextAppearance.Conversations.Subhead"
18            android:textColor="?attr/edit_text_color" />
19
20        <Spinner
21            android:id="@+id/spinner"
22            android:layout_width="fill_parent"
23            android:layout_height="wrap_content"
24            android:layout_marginRight="8dp"
25            android:paddingLeft="8dp"
26            android:paddingBottom="8dp" />
27
28        <TextView
29            android:id="@+id/desc"
30            android:layout_width="match_parent"
31            android:layout_height="wrap_content"
32            android:paddingLeft="16dp"
33            android:paddingRight="8dp"
34            android:textAppearance="@style/TextAppearance.Conversations.Status"
35            android:textColor="?android:textColorSecondary" />
36
37    </LinearLayout>
38</layout>