aboutsummaryrefslogtreecommitdiffstats
path: root/res
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
parent95068ee776d9ec8e6c390133ca2bed083a46546f (diff)
presences are now somewhat stored and displayed to the user via the contact details action.
Diffstat (limited to 'res')
-rw-r--r--res/layout/dialog_contact_details.xml77
-rw-r--r--res/values/strings.xml2
2 files changed, 78 insertions, 1 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>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 1d07e7f2..a084e890 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -6,7 +6,7 @@
<string name="action_add">New conversation</string>
<string name="action_accounts">Manage accounts</string>
<string name="action_archive">Archive conversation</string>
- <string name="action_details">Show details</string>
+ <string name="action_details">Contact details</string>
<string name="action_secure">Secure conversation</string>
<string name="action_add_account">Add account</string>
<string name="title_activity_new_conversation">New Conversation</string>