aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/dialog_presence.xml
blob: 72abb9305f8b46e9b0669fe1bcbda0c5d57c6ef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:paddingBottom="?attr/dialog_vertical_padding"
        android:paddingLeft="?attr/dialog_horizontal_padding"
        android:paddingRight="?attr/dialog_horizontal_padding"
        android:paddingTop="?attr/dialog_vertical_padding">

        <RadioGroup
            android:id="@+id/show"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="?attr/dialog_vertical_padding">

            <RadioButton
                android:id="@+id/online"
                style="@style/Widget.Conversations.RadioButton"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/presence_online" />

            <RadioButton
                android:id="@+id/away"
                style="@style/Widget.Conversations.RadioButton"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/presence_away" />

            <RadioButton
                android:id="@+id/xa"
                style="@style/Widget.Conversations.RadioButton"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/presence_xa" />

            <RadioButton
                android:id="@+id/dnd"
                style="@style/Widget.Conversations.RadioButton"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/presence_dnd" />
        </RadioGroup>

        <android.support.design.widget.TextInputLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:errorTextAppearance="@style/TextAppearance.Conversations.Design.Error"
            app:hintTextAppearance="@style/TextAppearance.Conversations.Design.Hint">

            <de.pixart.messenger.ui.widget.ImmediateAutoCompleteTextView
                android:id="@+id/status_message"
                style="@style/Widget.Conversations.EditText"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:ems="10"
                android:hint="@string/status_message"
                android:inputType="textShortMessage"
                android:textColor="?attr/text_Color_Main" />
        </android.support.design.widget.TextInputLayout>

    </LinearLayout>
</layout>