2014-10-22 16:38:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2015-07-13 10:55:13 +00:00
|
|
|
android:background="@color/grey200" >
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2015-10-25 23:59:32 +00:00
|
|
|
android:id="@+id/details_main_layout"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-01-13 10:52:41 +00:00
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:background="@drawable/infocard_border"
|
2015-01-13 10:52:41 +00:00
|
|
|
android:padding="@dimen/infocard_padding" >
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<QuickContactBadge
|
|
|
|
android:id="@+id/details_contact_badge"
|
|
|
|
android:layout_width="72dp"
|
|
|
|
android:layout_height="72dp"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:scaleType="centerCrop" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/details_jidbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_toRightOf="@+id/details_contact_badge"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/details_contactjid"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/account_settings_example_jabber_id"
|
2015-07-13 10:55:13 +00:00
|
|
|
android:textColor="@color/black87"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:textSize="?attr/TextSizeHeadline"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<LinearLayout
|
2016-04-23 10:19:00 +00:00
|
|
|
android:id="@+id/tags"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-04-23 10:19:00 +00:00
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
</LinearLayout>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2016-04-23 10:19:00 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/details_lastseen"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/black54"
|
|
|
|
android:textSize="?attr/TextSizeBody" />
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2016-04-23 10:19:00 +00:00
|
|
|
<TextView
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:id="@+id/status_message"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/black87"
|
|
|
|
android:textStyle="italic"
|
|
|
|
android:textSize="?attr/TextSizeBody" />
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2015-01-21 14:31:40 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/add_contact_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:text="@string/add_contact"/>
|
|
|
|
|
2014-10-22 16:38:44 +00:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/details_send_presence"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:text="@string/send_presence_updates"
|
2015-07-13 10:55:13 +00:00
|
|
|
android:textColor="@color/black87"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:textSize="?attr/TextSizeBody" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/details_receive_presence"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/receive_presence_updates"
|
2015-07-13 10:55:13 +00:00
|
|
|
android:textColor="@color/black87"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:textSize="?attr/TextSizeBody" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/details_account"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@+id/details_jidbox"
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
android:text="@string/using_account"
|
2015-07-13 10:55:13 +00:00
|
|
|
android:textColor="@color/black54"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:textSize="?attr/TextSizeInfo" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/details_contact_keys"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-01-13 10:52:41 +00:00
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:background="@drawable/infocard_border"
|
|
|
|
android:divider="?android:dividerHorizontal"
|
|
|
|
android:orientation="vertical"
|
2015-01-13 10:52:41 +00:00
|
|
|
android:padding="@dimen/infocard_padding"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:showDividers="middle" >
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2014-11-03 13:28:20 +00:00
|
|
|
</ScrollView>
|