aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/dialog_presence.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-01 20:44:02 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-01 20:56:39 +0200
commit0aff702a72c54cd1dd6746e3080a4318fe17b72a (patch)
tree256600a5ae293d76ebb1ad59ba5b15cb523f2857 /src/main/res/layout/dialog_presence.xml
parentc2f72e3d8c91f92cc8cfe6480196a2f55d9e4364 (diff)
wip: new status message dialog
Diffstat (limited to 'src/main/res/layout/dialog_presence.xml')
-rw-r--r--src/main/res/layout/dialog_presence.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/main/res/layout/dialog_presence.xml b/src/main/res/layout/dialog_presence.xml
new file mode 100644
index 000000000..bc0f30c32
--- /dev/null
+++ b/src/main/res/layout/dialog_presence.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layout xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <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:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/presence_online" />
+
+ <RadioButton
+ android:id="@+id/radioButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/presence_away" />
+
+ <RadioButton
+ android:id="@+id/radioButton2"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/presence_xa" />
+
+ <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">
+
+ <de.pixart.messenger.ui.widget.ImmediateAutoCompleteTextView
+ android:id="@+id/status_message"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:ems="10"
+ android:hint="@string/status_message"
+ android:inputType="textPersonName" />
+ </android.support.design.widget.TextInputLayout>
+
+ </LinearLayout>
+</layout> \ No newline at end of file