2014-10-22 16:38:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-02-25 18:21:02 +00:00
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-17 17:58:56 +00:00
|
|
|
<ScrollView
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_width="fill_parent"
|
2018-02-17 17:58:56 +00:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:background="?attr/color_background_secondary">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-17 17:58:56 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/details_main_layout"
|
|
|
|
android:layout_width="fill_parent"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-17 17:58:56 +00:00
|
|
|
android:orientation="vertical">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-17 17:58:56 +00:00
|
|
|
<android.support.v7.widget.CardView
|
2018-02-17 17:07:20 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-17 17:58:56 +00:00
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-17 17:58:56 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-18 14:17:11 +00:00
|
|
|
android:padding="@dimen/card_padding_regular">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-17 17:58:56 +00: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-22 16:38:44 +00:00
|
|
|
|
2018-02-17 17:58:56 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/details_jidbox"
|
2018-02-17 17:07:20 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-17 17:58:56 +00:00
|
|
|
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"
|
2018-02-18 11:13:51 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
|
2018-02-17 17:58:56 +00:00
|
|
|
|
|
|
|
<com.wefika.flowlayout.FlowLayout
|
|
|
|
android:id="@+id/tags"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginLeft="-2dp"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
</com.wefika.flowlayout.FlowLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/details_lastseen"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
2018-02-18 11:13:51 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"/>
|
2018-02-17 17:58:56 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/status_message"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
2018-02-18 11:13:51 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
|
2018-02-17 17:58:56 +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"/>
|
|
|
|
|
|
|
|
<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"
|
2018-02-18 11:13:51 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
|
2018-02-17 17:58:56 +00:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/details_receive_presence"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/receive_presence_updates"
|
2018-02-18 11:13:51 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
|
2018-02-17 17:58:56 +00:00
|
|
|
</LinearLayout>
|
2015-01-21 14:31:40 +00:00
|
|
|
|
2018-02-17 17:07:20 +00:00
|
|
|
<TextView
|
2018-02-17 17:58:56 +00:00
|
|
|
android:id="@+id/details_account"
|
2018-02-17 17:07:20 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-17 17:58:56 +00:00
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@+id/details_jidbox"
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
android:text="@string/using_account"
|
2018-02-18 11:13:51 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Caption"/>
|
2018-02-17 17:58:56 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
2018-02-17 17:07:20 +00:00
|
|
|
|
2018-02-17 17:58:56 +00:00
|
|
|
<android.support.v7.widget.CardView
|
|
|
|
android:id="@+id/keys_wrapper"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin">
|
2018-02-17 17:07:20 +00:00
|
|
|
|
2018-02-17 17:58:56 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-26 14:44:50 +00:00
|
|
|
android:orientation="vertical">
|
2018-02-17 17:58:56 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/details_contact_keys"
|
2018-02-26 14:44:50 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-02-17 17:07:20 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-02-26 14:44:50 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/card_padding_list">
|
2018-02-17 17:58:56 +00:00
|
|
|
</LinearLayout>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-26 14:44:50 +00:00
|
|
|
<LinearLayout
|
2018-02-17 17:07:20 +00:00
|
|
|
android:layout_width="wrap_content"
|
2018-02-26 14:44:50 +00:00
|
|
|
android:layout_height="match_parent"
|
2018-02-17 17:58:56 +00:00
|
|
|
android:layout_marginTop="8dp"
|
2018-02-26 14:44:50 +00:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/scan_button"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:minWidth="0dp"
|
|
|
|
android:text="@string/scan_qr_code"
|
|
|
|
android:textColor="?attr/colorAccent"/>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/show_inactive_devices"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp"
|
|
|
|
android:minWidth="0dp"
|
|
|
|
android:text="@string/show_inactive_devices"
|
|
|
|
android:textColor="?attr/colorAccent"/>
|
|
|
|
</LinearLayout>
|
2016-12-30 12:17:45 +00:00
|
|
|
</LinearLayout>
|
2018-02-17 17:58:56 +00:00
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
</LinearLayout>
|
2018-02-17 17:07:20 +00:00
|
|
|
|
2018-02-17 17:58:56 +00:00
|
|
|
</ScrollView>
|
|
|
|
</layout>
|