<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="?attr/listPreferredItemHeightSmall"
        android:gravity="center_vertical"
        android:orientation="horizontal">

    <ImageView
            android:id="@+id/room_user_status"
            android:layout_width="8dp"
            android:layout_height="8dp"
            android:layout_margin="@dimen/margin_8" />

    <chat.rocket.android.widget.RocketChatAvatar
            android:id="@+id/room_user_avatar"
            android:layout_width="24dp"
            android:layout_height="24dp" />

    <TextView
            android:id="@+id/room_user_name"
            android:layout_width="0px"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:layout_marginLeft="@dimen/margin_8"
            android:layout_marginRight="@dimen/margin_8"
            android:layout_weight="1"
            android:textAppearance="@style/TextAppearance.AppCompat.Small" />

</LinearLayout>