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
5 <LinearLayout
6 android:layout_width="match_parent"
7 android:layout_height="match_parent"
8 android:orientation="vertical"
9 android:paddingBottom="?attr/dialog_vertical_padding"
10 android:paddingLeft="?attr/dialog_horizontal_padding"
11 android:paddingRight="?attr/dialog_horizontal_padding"
12 android:paddingTop="?attr/dialog_vertical_padding">
13
14 <RadioGroup
15 android:id="@+id/show"
16 android:layout_width="match_parent"
17 android:layout_height="wrap_content"
18 android:layout_marginBottom="?attr/dialog_vertical_padding">
19
20 <RadioButton
21 android:id="@+id/online"
22 style="@style/Widget.Conversations.RadioButton"
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
25 android:text="@string/presence_online"/>
26
27 <RadioButton
28 android:id="@+id/away"
29 style="@style/Widget.Conversations.RadioButton"
30 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
32 android:text="@string/presence_away"/>
33
34 <RadioButton
35 android:id="@+id/xa"
36 style="@style/Widget.Conversations.RadioButton"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:text="@string/presence_xa"/>
40
41 <RadioButton
42 android:id="@+id/dnd"
43 style="@style/Widget.Conversations.RadioButton"
44 android:layout_width="match_parent"
45 android:layout_height="wrap_content"
46 android:text="@string/presence_dnd"/>
47 </RadioGroup>
48
49 <com.google.android.material.textfield.TextInputLayout
50 android:layout_width="match_parent"
51 android:layout_height="wrap_content"
52 app:errorTextAppearance="@style/TextAppearance.Conversations.Design.Error"
53 app:hintTextAppearance="@style/TextAppearance.Conversations.Design.Hint">
54
55 <eu.siacs.conversations.ui.widget.ImmediateAutoCompleteTextView
56 android:id="@+id/status_message"
57 style="@style/Widget.Conversations.EditText"
58 android:layout_width="match_parent"
59 android:layout_height="wrap_content"
60 android:ems="10"
61 android:hint="@string/status_message"
62 android:inputType="textShortMessage"/>
63 </com.google.android.material.textfield.TextInputLayout>
64
65 </LinearLayout>
66</layout>