Conversations/res/layout/activity_contact_details.xml

133 lines
4.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2014-03-08 00:31:29 +01:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
2014-03-08 00:31:29 +01:00
android:background="#e5e5e5">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
2014-03-05 15:41:14 +01:00
<TextView
style="@style/sectionHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
2014-05-13 11:23:11 +02:00
android:text="@string/action_contact_details" />
<RelativeLayout
android:layout_width="wrap_content"
2014-06-13 11:50:47 +02:00
android:layout_height="wrap_content"
android:minHeight="88dp"
2014-03-05 15:41:14 +01:00
android:padding="8dp">
2014-02-10 03:34:00 +01:00
<QuickContactBadge
android:id="@+id/details_contact_badge"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_centerVertical="true"
2014-02-10 03:34:00 +01:00
android:scaleType="fitXY"/>
<LinearLayout
android:id="@+id/details_jidbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-03-05 15:41:14 +01:00
android:layout_centerVertical="true"
2014-02-10 03:34:00 +01:00
android:layout_toRightOf="@+id/details_contact_badge"
android:orientation="vertical"
2014-03-05 15:41:14 +01:00
android:paddingLeft="8dp" >
<TextView
android:id="@+id/details_contactjid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-03-05 15:41:14 +01:00
android:paddingLeft="8dp"
2014-02-10 03:34:00 +01:00
android:singleLine="true"
2014-03-05 15:41:14 +01:00
android:textColor="#5b5b5b"
android:textSize="18sp" />
2014-03-05 15:41:14 +01:00
<TextView
android:id="@+id/details_contactstatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-03-05 15:41:14 +01:00
android:paddingLeft="16dp"
android:textSize="24sp"
2014-03-05 15:41:14 +01:00
android:textStyle="bold" />
2014-06-13 11:50:47 +02:00
<TextView
android:id="@+id/details_lastseen"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:singleLine="true"
android:textColor="#5b5b5b"
android:textSize="14sp" />
2014-03-05 15:41:14 +01:00
</LinearLayout>
</RelativeLayout>
2014-03-05 15:41:14 +01:00
<TextView
style="@style/sectionHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-03-05 15:41:14 +01:00
android:padding="8dp"
2014-05-13 11:23:11 +02:00
android:text="@string/your_account" />
<TextView
android:id="@+id/details_account"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
2014-03-05 15:41:14 +01:00
android:textSize="18sp"
android:textColor="#5b5b5b" />
<TextView
style="@style/sectionHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-03-05 15:41:14 +01:00
android:padding="8dp"
2014-05-13 11:23:11 +02:00
android:text="@string/subscriptions" />
<CheckBox
android:id="@+id/details_send_presence"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-05-13 11:23:11 +02:00
android:text="@string/send_presence_updates"
2014-03-05 15:41:14 +01:00
android:textSize="18sp"
android:textColor="#5b5b5b" />
<CheckBox
android:id="@+id/details_receive_presence"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-05-13 11:23:11 +02:00
android:text="@string/receive_presence_updates"
2014-03-05 15:41:14 +01:00
android:textSize="18sp"
android:textColor="#5b5b5b" />
<TextView
android:id="@+id/ask_again"
android:paddingTop="8dp"
android:paddingLeft="32dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/ask_again"
android:textColor="#33B5E5"
android:textSize="18sp"
android:visibility="gone"
/>
2014-03-06 20:00:46 +01:00
<TextView
style="@style/sectionHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
2014-05-13 11:23:11 +02:00
android:text="@string/keys" />
2014-03-06 20:00:46 +01:00
<LinearLayout
android:id="@+id/details_contact_keys"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:divider="?android:dividerHorizontal"
android:showDividers="middle">
</LinearLayout>
2014-03-08 00:31:29 +01:00
</LinearLayout>
</ScrollView>