diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/dialog_contact_details.xml | 77 | ||||
-rw-r--r-- | res/values/strings.xml | 2 |
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 000000000..9bbe55392 --- /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 1d07e7f27..a084e890e 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> |