2014-10-22 16:38:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-02-19 09:46:13 +00:00
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
2024-04-04 09:38:27 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2018-02-19 09:46:13 +00:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_height="wrap_content"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:background="@drawable/background_selectable_list_item"
|
2018-02-19 09:46:13 +00:00
|
|
|
android:padding="@dimen/list_padding">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-19 09:46:13 +00:00
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
|
|
android:id="@+id/contact_photo"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:layout_alignParentStart="true"
|
2018-02-19 09:46:13 +00:00
|
|
|
android:scaleType="centerCrop"
|
2024-04-04 09:38:27 +00:00
|
|
|
app:riv_corner_radius="6dp" />
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2018-02-19 09:46:13 +00:00
|
|
|
<LinearLayout
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-02-19 09:46:13 +00:00
|
|
|
android:layout_centerVertical="true"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:layout_marginStart="@dimen/avatar_item_distance"
|
|
|
|
android:layout_toEndOf="@+id/contact_photo"
|
|
|
|
android:orientation="vertical">
|
2018-02-19 09:46:13 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/contact_display_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:textAppearance="?textAppearanceBodyLarge"
|
|
|
|
tools:text="Juliet Capulet" />
|
2018-02-19 09:46:13 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/contact_jid"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:textAppearance="?textAppearanceBodyMedium"
|
|
|
|
tools:text="juliet@capulet.example" />
|
2018-02-19 09:46:13 +00:00
|
|
|
|
|
|
|
<com.wefika.flowlayout.FlowLayout
|
|
|
|
android:id="@+id/tags"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:layout_marginStart="-2dp"
|
|
|
|
android:orientation="horizontal"/>
|
2018-02-19 09:46:13 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2024-04-04 09:38:27 +00:00
|
|
|
android:fontFamily="monospace"
|
|
|
|
android:textAppearance="?textAppearanceBodyMedium"
|
|
|
|
android:visibility="gone" />
|
2018-02-19 09:46:13 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</layout>
|