aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/activity_set_presence.xml
blob: 517654093e63757ec4cf44f19ca86417ac2c1673 (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
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@color/grey200"
    android:id="@+id/scroll_view">

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/activity_horizontal_margin"
            android:layout_marginRight="@dimen/activity_horizontal_margin"
            android:layout_marginTop="@dimen/activity_vertical_margin"
            android:layout_marginBottom="@dimen/activity_vertical_margin"
            android:background="@drawable/infocard_border"
            android:padding="@dimen/infocard_padding"
            android:orientation="vertical">

            <github.ankushsachdeva.emojicon.EmojiconEditText
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:inputType="textMultiLine"
                android:hint="@string/status_message"
                android:id="@+id/presence_status_message"
                android:textColor="@color/black87"
                android:layout_marginBottom="8dp"
                android:textSize="?attr/TextSizeBody" />

            <Spinner
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/presence_show"
                android:layout_gravity="center_horizontal" />

            <CheckBox
                android:layout_marginTop="16dp"
                android:layout_marginBottom="16dp"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/all_accounts_on_this_device"
                android:id="@+id/all_accounts"
                android:textColor="@color/black87"
                android:textSize="?attr/TextSizeBody"
                android:visibility="gone" />

            <Button
                android:id="@+id/change_presence"
                style="?android:attr/borderlessButtonStyle"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="right"
                android:text="@string/change_presence"
                android:textColor="@color/accent" />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/templates"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/activity_horizontal_margin"
            android:layout_marginRight="@dimen/activity_horizontal_margin"
            android:layout_marginTop="@dimen/activity_vertical_margin"
            android:layout_marginBottom="@dimen/activity_vertical_margin"
            android:background="@drawable/infocard_border"
            android:padding="@dimen/infocard_padding"
            android:orientation="vertical"
            android:divider="?android:dividerHorizontal"
            android:showDividers="middle"></LinearLayout>
    </LinearLayout>
</ScrollView>