dialog_presence.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<layout xmlns:android="http://schemas.android.com/apk/res/android">
 3
 4    <LinearLayout
 5        android:layout_width="match_parent"
 6        android:layout_height="match_parent"
 7        android:orientation="vertical"
 8        android:padding="?dialogPreferredPadding">
 9
10        <RadioGroup
11            android:id="@+id/show"
12            android:layout_width="match_parent"
13            android:layout_height="wrap_content">
14
15            <RadioButton
16                android:id="@+id/online"
17                android:layout_width="match_parent"
18                android:layout_height="wrap_content"
19                android:text="@string/presence_online" />
20
21            <RadioButton
22                android:id="@+id/away"
23                android:layout_width="match_parent"
24                android:layout_height="wrap_content"
25                android:text="@string/presence_away" />
26
27            <RadioButton
28                android:id="@+id/xa"
29                android:layout_width="match_parent"
30                android:layout_height="wrap_content"
31                android:text="@string/presence_xa" />
32
33            <RadioButton
34                android:id="@+id/dnd"
35                android:layout_width="match_parent"
36                android:layout_height="wrap_content"
37                android:text="@string/presence_dnd" />
38        </RadioGroup>
39
40        <com.google.android.material.textfield.TextInputLayout
41            android:layout_width="match_parent"
42            android:layout_height="wrap_content">
43
44            <eu.siacs.conversations.ui.widget.ImmediateAutoCompleteTextView
45                android:padding="16dp"
46                android:id="@+id/status_message"
47                android:layout_width="match_parent"
48                android:layout_height="wrap_content"
49                android:ems="10"
50                android:hint="@string/status_message"
51                android:inputType="textShortMessage" />
52        </com.google.android.material.textfield.TextInputLayout>
53
54    </LinearLayout>
55</layout>