1<?xml version="1.0" encoding="utf-8"?>
2<layout xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <ScrollView
5 android:id="@+id/scroll_view"
6 android:layout_width="fill_parent"
7 android:layout_height="fill_parent"
8 android:background="?attr/color_background_secondary">
9
10 <LinearLayout
11 android:layout_width="fill_parent"
12 android:layout_height="wrap_content"
13 android:orientation="vertical">
14
15 <android.support.v7.widget.CardView
16 android:layout_width="match_parent"
17 android:layout_height="wrap_content"
18 android:layout_marginBottom="@dimen/activity_vertical_margin"
19 android:layout_marginLeft="@dimen/activity_horizontal_margin"
20 android:layout_marginRight="@dimen/activity_horizontal_margin"
21 android:layout_marginTop="@dimen/activity_vertical_margin">
22
23 <LinearLayout
24 android:layout_width="match_parent"
25 android:layout_height="wrap_content"
26 android:orientation="vertical"
27 android:padding="@dimen/card_padding_regular">
28
29 <EditText
30 android:id="@+id/presence_status_message"
31 android:layout_width="match_parent"
32 android:layout_height="wrap_content"
33 android:layout_marginBottom="8dp"
34 android:hint="@string/status_message"
35 android:inputType="textMultiLine"
36 android:textColor="?attr/color_text_primary"
37 android:textSize="?attr/TextSizeBody"/>
38
39 <Spinner
40 android:id="@+id/presence_show"
41 android:layout_width="wrap_content"
42 android:layout_height="wrap_content"
43 android:layout_gravity="center_horizontal"/>
44
45 <CheckBox
46 android:id="@+id/all_accounts"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:layout_marginBottom="16dp"
50 android:layout_marginTop="16dp"
51 android:text="@string/all_accounts_on_this_device"
52 android:textColor="?attr/color_text_primary"
53 android:textSize="?attr/TextSizeBody"/>
54
55 <Button
56 android:id="@+id/change_presence"
57 style="?android:attr/borderlessButtonStyle"
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"
60 android:layout_gravity="right"
61 android:layout_marginBottom="-8dp"
62 android:layout_marginRight="-8dp"
63 android:text="@string/change_presence"
64 android:textColor="@color/accent"/>
65 </LinearLayout>
66 </android.support.v7.widget.CardView>
67
68 <android.support.v7.widget.CardView
69 android:id="@+id/templates_card"
70 android:layout_width="match_parent"
71 android:layout_height="wrap_content"
72 android:layout_marginBottom="@dimen/activity_vertical_margin"
73 android:layout_marginLeft="@dimen/activity_horizontal_margin"
74 android:layout_marginRight="@dimen/activity_horizontal_margin"
75 android:layout_marginTop="@dimen/activity_vertical_margin">
76
77 <LinearLayout
78 android:id="@+id/templates"
79 android:layout_width="match_parent"
80 android:layout_height="wrap_content"
81 android:orientation="vertical"
82 android:padding="@dimen/card_padding_regular"/>
83 </android.support.v7.widget.CardView>
84 </LinearLayout>
85 </ScrollView>
86</layout>