aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-09 00:47:11 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-09 00:47:11 +0100
commitc31101dd6458225a007466a3d58a2f4b591c684f (patch)
tree5606bbb1679301e6bbc51b92d5d6372d10789793 /res/layout
parent95068ee776d9ec8e6c390133ca2bed083a46546f (diff)
presences are now somewhat stored and displayed to the user via the contact details action.
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/dialog_contact_details.xml77
1 files changed, 77 insertions, 0 deletions
diff --git a/res/layout/dialog_contact_details.xml b/res/layout/dialog_contact_details.xml
new file mode 100644
index 00000000..9bbe5539
--- /dev/null
+++ b/res/layout/dialog_contact_details.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:padding="8dp">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Jabber ID"
+ android:textColor="#636363"
+ android:textSize="20sp"/>
+
+ <TextView
+ android:id="@+id/details_contact_jid"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="something@jabber.example.com"
+ android:paddingLeft="8dp"
+ android:textSize="14sp"/>
+
+ <TextView
+ android:paddingTop="8dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Status"
+ android:textColor="#636363"
+ android:textSize="20sp"/>
+
+ <TextView
+ android:paddingLeft="8dp"
+ android:id="@+id/details_contact_status"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="online"
+ android:textSize="14sp"/>
+
+ <TextView
+ android:paddingTop="8dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Your account"
+ android:textColor="#636363"
+ android:textSize="20sp"/>
+
+ <TextView
+ android:paddingLeft="8dp"
+ android:id="@+id/details_account"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="14sp"
+ android:text="julia@jabber.example.com" />
+
+ <TextView
+ android:paddingTop="8dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Subscription"
+ android:textColor="#636363"
+ android:textSize="20sp"/>
+
+ <CheckBox
+ android:id="@+id/details_send_presence"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Send presence updates"
+ android:textSize="14sp"/>
+
+ <CheckBox
+ android:id="@+id/details_receive_presence"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Receive presence updates"
+ android:textSize="14sp"/>
+
+</LinearLayout>