aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout/activity_contact_details.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/activity_contact_details.xml')
-rw-r--r--res/layout/activity_contact_details.xml95
1 files changed, 95 insertions, 0 deletions
diff --git a/res/layout/activity_contact_details.xml b/res/layout/activity_contact_details.xml
new file mode 100644
index 00000000..cd49f1bf
--- /dev/null
+++ b/res/layout/activity_contact_details.xml
@@ -0,0 +1,95 @@
+<?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:background="#e5e5e5">
+
+ <TextView
+ style="@style/sectionHeader"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="8dp"
+ android:text="Contact Details" />
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="88dp"
+ android:padding="8dp">
+
+ <QuickContactBadge
+ android:id="@+id/details_contact_badge"
+ android:layout_width="72dp"
+ android:layout_height="72dp"
+ android:layout_centerVertical="true"
+ android:scaleType="fitXY"/>
+
+ <LinearLayout
+ android:id="@+id/details_jidbox"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_toRightOf="@+id/details_contact_badge"
+ android:orientation="vertical"
+ android:paddingLeft="8dp" >
+
+ <TextView
+ android:id="@+id/details_contactjid"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="8dp"
+ android:singleLine="true"
+ android:text="something@jabber.example.com"
+ android:textColor="#5b5b5b"
+ android:textSize="18sp" />
+
+ <TextView
+ android:id="@+id/details_contactstatus"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:paddingLeft="16dp"
+ android:text="online"
+ android:textSize="24sp"
+ android:textStyle="bold" />
+ </LinearLayout>
+
+ </RelativeLayout>
+
+
+ <TextView
+ style="@style/sectionHeader"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="8dp"
+ android:text="Your account" />
+ <TextView
+ android:id="@+id/details_account"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="8dp"
+ android:text="julia@jabber.example.com"
+ android:textSize="18sp"
+ android:textColor="#5b5b5b" />
+ <TextView
+ style="@style/sectionHeader"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="8dp"
+ android:text="Subscription" />
+
+ <CheckBox
+ android:id="@+id/details_send_presence"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Send presence updates"
+ android:textSize="18sp"
+ android:textColor="#5b5b5b" />
+
+ <CheckBox
+ android:id="@+id/details_receive_presence"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Receive presence updates"
+ android:textSize="18sp"
+ android:textColor="#5b5b5b" />
+
+</LinearLayout> \ No newline at end of file