<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:minWidth="288dp"
        android:padding="@dimen/margin_24">

    <android.support.design.widget.TextInputLayout
            android:id="@+id/text_input_username"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

        <android.support.v7.widget.AppCompatAutoCompleteTextView
                android:id="@+id/editor_username"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="username"
                android:completionThreshold="3" />
    </android.support.design.widget.TextInputLayout>

    <Space
            android:layout_width="match_parent"
            android:layout_height="@dimen/margin_16" />

    <android.support.design.widget.FloatingActionButton
            android:id="@+id/btn_add_direct_message"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="end|bottom"
            app:elevation="2dp"
            app:fabSize="mini"
            app:srcCompat="@drawable/ic_arrow_forward_white_24dp" />

    <chat.rocket.android.widget.WaitingView
            android:id="@+id/waiting"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:visibility="gone"
            app:dotCount="5"
            app:dotSize="12dp" />

</LinearLayout>