<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:tools="http://schemas.android.com/tools"
	android:layout_width="match_parent"
	android:layout_height="wrap_content"
	android:paddingTop="8dp"
	android:paddingBottom="8dp"
	android:paddingLeft="16dp"
	android:paddingRight="16dp">

	<ImageView
		android:id="@+id/photo"
		android:layout_width="40dp"
		android:layout_height="40dp"
		android:layout_marginEnd="12dp"
		tools:src="#0f0"/>

	<TextView
		android:id="@+id/name"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_toEndOf="@id/photo"
		android:textAppearance="@style/m3_title_medium"
		android:fontFamily="sans-serif"
		android:singleLine="true"
		android:ellipsize="end"
		tools:text="User Name"/>

	<TextView
		android:id="@+id/username"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_toEndOf="@id/photo"
		android:layout_alignBottom="@id/photo"
		android:textAppearance="@style/m3_body_medium"
		android:textColor="?android:textColorSecondary"
		android:singleLine="true"
		android:ellipsize="end"
		tools:text="\@user@domain"/>

</RelativeLayout>