Conversations/res/layout/activity_contact_details.xml

110 lines
4.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2014-10-13 12:36:41 +02:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
2014-10-13 12:36:41 +02:00
android:background="@color/secondarybackground"
android:orientation="vertical" >
2014-03-08 00:31:29 +01:00
2014-10-13 12:36:41 +02:00
<RelativeLayout
android:layout_width="fill_parent"
2014-06-13 11:50:47 +02:00
android:layout_height="wrap_content"
2014-10-13 12:36:41 +02:00
android:layout_margin="8dp"
android:background="@drawable/infocard_border"
android:padding="8dp" >
2014-10-13 12:36:41 +02:00
<QuickContactBadge
android:id="@+id/details_contact_badge"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_alignParentTop="true"
android:scaleType="centerCrop" />
2014-10-13 12:36:41 +02:00
<LinearLayout
android:id="@+id/details_jidbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-10-13 12:36:41 +02:00
android:layout_marginLeft="16dp"
android:layout_toRightOf="@+id/details_contact_badge"
android:orientation="vertical" >
2014-10-13 12:36:41 +02:00
<TextView
android:id="@+id/details_contactjid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:text="@string/account_settings_example_jabber_id"
android:textColor="@color/primarytext"
android:textSize="?attr/TextSizeHeadline"
android:textStyle="bold" />
<LinearLayout
2014-06-13 11:50:47 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-10-13 12:36:41 +02:00
android:orientation="horizontal" >
<TextView
2014-10-13 12:36:41 +02:00
android:id="@+id/details_contactstatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-10-13 12:36:41 +02:00
android:textColor="@color/secondarytext"
android:textSize="?attr/TextSizeBody" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-10-13 12:36:41 +02:00
android:text=" · "
android:textColor="@color/secondarytext"
android:textSize="?attr/TextSizeBody" />
<TextView
android:id="@+id/details_lastseen"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
2014-10-13 12:36:41 +02:00
android:textColor="@color/secondarytext"
android:textSize="?attr/TextSizeBody" />
</LinearLayout>
2014-10-13 12:36:41 +02: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"
android:textColor="@color/primarytext"
android:textSize="?attr/TextSizeBody" />
2014-10-13 12:36:41 +02:00
<CheckBox
android:id="@+id/details_receive_presence"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/receive_presence_updates"
android:textColor="@color/primarytext"
android:textSize="?attr/TextSizeBody" />
</LinearLayout>
<TextView
2014-10-13 12:36:41 +02:00
android:id="@+id/details_account"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-10-13 12:36:41 +02:00
android:layout_alignParentRight="true"
android:layout_below="@+id/details_jidbox"
android:layout_marginTop="32dp"
android:text="@string/using_account"
android:textColor="@color/secondarytext"
android:textSize="?attr/TextSizeInfo" />
</RelativeLayout>
2014-10-13 12:36:41 +02:00
<LinearLayout
android:id="@+id/details_contact_keys"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:background="@drawable/infocard_border"
android:divider="?android:dividerHorizontal"
android:orientation="vertical"
android:padding="8dp"
android:showDividers="middle" >
</LinearLayout>
2014-10-13 12:36:41 +02:00
</LinearLayout>