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 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:text="@string/presence_online"/>
25
26 <RadioButton
27 android:id="@+id/away"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:text="@string/presence_away"/>
31
32 <RadioButton
33 android:id="@+id/xa"
34 android:layout_width="match_parent"
35 android:layout_height="wrap_content"
36 android:text="@string/presence_xa"/>
37
38 <RadioButton
39 android:id="@+id/dnd"
40 android:layout_width="match_parent"
41 android:layout_height="wrap_content"
42 android:text="@string/presence_dnd"/>
43 </RadioGroup>
44
45 <android.support.design.widget.TextInputLayout
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
48 app:errorTextAppearance="@style/TextAppearance.Conversations.Design.Error"
49 app:hintTextAppearance="@style/TextAppearance.Conversations.Design.Hint">
50
51 <eu.siacs.conversations.ui.widget.ImmediateAutoCompleteTextView
52 android:id="@+id/status_message"
53 style="@style/Widget.Conversations.EditText"
54 android:layout_width="match_parent"
55 android:layout_height="wrap_content"
56 android:ems="10"
57 android:hint="@string/status_message"
58 android:inputType="textShortMessage"/>
59 </android.support.design.widget.TextInputLayout>
60
61 </LinearLayout>
62</layout>