item_member.xml 1.42 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 4 5 6
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
7 8 9 10 11
    android:background="?android:attr/selectableItemBackground"
    android:paddingBottom="@dimen/member_item_top_and_bottom_padding"
    android:paddingEnd="@dimen/screen_edge_left_and_right_padding"
    android:paddingStart="@dimen/screen_edge_left_and_right_padding"
    android:paddingTop="@dimen/member_item_top_and_bottom_padding">
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

    <include
        android:id="@+id/layout_avatar"
        layout="@layout/avatar"
        android:layout_width="40dp"
        android:layout_height="40dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <TextView
        android:id="@+id/text_member"
        style="@style/Sender.Name.TextView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        app:layout_constraintBottom_toBottomOf="@+id/layout_avatar"
        app:layout_constraintLeft_toRightOf="@+id/layout_avatar"
        app:layout_constraintTop_toTopOf="@+id/layout_avatar"
        tools:text="Ronald Perkins" />

32
</androidx.constraintlayout.widget.ConstraintLayout>