2014-02-08 18:47:11 -05:00
|
|
|
<?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"
|
2014-02-08 20:05:46 -05:00
|
|
|
android:padding="8dp" >
|
2014-02-08 18:47:11 -05:00
|
|
|
|
2014-02-08 20:05:46 -05:00
|
|
|
<RelativeLayout
|
2014-02-08 18:47:11 -05:00
|
|
|
android:layout_width="wrap_content"
|
2014-02-09 21:34:00 -05:00
|
|
|
android:layout_height="72dp"
|
2014-02-08 20:24:22 -05:00
|
|
|
android:padding="0dp">
|
2014-02-08 18:47:11 -05:00
|
|
|
|
2014-02-09 21:34:00 -05:00
|
|
|
<QuickContactBadge
|
|
|
|
android:id="@+id/details_contact_badge"
|
|
|
|
android:layout_width="72dp"
|
|
|
|
android:layout_height="72dp"
|
2014-02-08 20:05:46 -05:00
|
|
|
android:layout_centerVertical="true"
|
2014-02-09 21:34:00 -05:00
|
|
|
android:scaleType="fitXY"/>
|
2014-02-08 18:47:11 -05:00
|
|
|
|
2014-02-08 20:05:46 -05:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/details_jidbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-02-09 21:34:00 -05:00
|
|
|
android:layout_toRightOf="@+id/details_contact_badge"
|
2014-02-08 20:05:46 -05:00
|
|
|
android:orientation="vertical"
|
2014-02-09 21:34:00 -05:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:paddingLeft="8dp">
|
2014-02-08 20:05:46 -05:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Jabber ID"
|
|
|
|
android:textColor="#33B5E5"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/details_contactjid"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="something@jabber.example.com"
|
2014-02-09 21:34:00 -05:00
|
|
|
android:singleLine="true"
|
2014-02-08 20:24:22 -05:00
|
|
|
android:textSize="14sp"
|
|
|
|
android:paddingLeft="8dp"/>
|
2014-02-08 20:05:46 -05:00
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/details_contactstatus"
|
2014-02-08 20:24:22 -05:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2014-02-08 20:05:46 -05:00
|
|
|
android:text="online"
|
|
|
|
android:textSize="24sp"
|
|
|
|
android:textStyle="bold"
|
2014-02-08 20:24:22 -05:00
|
|
|
android:gravity="center_vertical"
|
2014-02-08 20:05:46 -05:00
|
|
|
android:layout_below="@+id/details_jidbox"
|
2014-02-09 21:34:00 -05:00
|
|
|
android:layout_toRightOf="@id/details_contact_badge"
|
|
|
|
android:paddingLeft="16dp"/>
|
2014-02-08 20:05:46 -05:00
|
|
|
</RelativeLayout>
|
2014-02-08 18:47:11 -05:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
android:text="Your account"
|
2014-02-08 20:05:46 -05:00
|
|
|
android:textColor="#33B5E5"
|
|
|
|
android:textSize="20sp"/>
|
2014-02-08 18:47:11 -05:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/details_account"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-02-08 20:05:46 -05:00
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:text="julia@jabber.example.com"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<TextView
|
2014-02-08 18:47:11 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-02-08 20:05:46 -05:00
|
|
|
android:paddingTop="8dp"
|
2014-02-08 18:47:11 -05:00
|
|
|
android:text="Subscription"
|
2014-02-08 20:05:46 -05:00
|
|
|
android:textColor="#33B5E5"
|
|
|
|
android:textSize="20sp" />
|
2014-02-08 18:47:11 -05:00
|
|
|
|
2014-02-08 20:05:46 -05:00
|
|
|
<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" />
|
2014-02-08 18:47:11 -05:00
|
|
|
|
2014-02-08 20:05:46 -05:00
|
|
|
<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" />
|
2014-02-08 18:47:11 -05:00
|
|
|
|
2014-02-08 20:05:46 -05:00
|
|
|
</LinearLayout>
|