<?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:layout_width="match_parent"
        android:layout_height="match_parent"
        android:minWidth="288dp"
        android:orientation="vertical"
        android:padding="@dimen/margin_24">

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

        <android.support.design.widget.TextInputEditText
                android:id="@+id/editor_email"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/dialog_user_registration_email"
                android:imeOptions="actionNext"
                android:inputType="textWebEmailAddress"
                android:singleLine="true" />
    </android.support.design.widget.TextInputLayout>

    <Space
            android:layout_width="wrap_content"
            android:layout_height="@dimen/margin_8" />

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

        <android.support.design.widget.TextInputEditText
                android:id="@+id/editor_username"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/dialog_user_registration_username"
                android:imeOptions="actionNext"
                android:inputType="textWebEmailAddress"
                android:singleLine="true" />
    </android.support.design.widget.TextInputLayout>

    <Space
            android:layout_width="wrap_content"
            android:layout_height="@dimen/margin_8" />

    <android.support.design.widget.TextInputLayout
            android:id="@+id/text_input_passwd"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:passwordToggleEnabled="true">

        <android.support.design.widget.TextInputEditText
                android:id="@+id/editor_passwd"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="@string/dialog_user_registration_password"
                android:imeOptions="actionNext"
                android:inputType="textWebPassword"
                android:singleLine="true" />
    </android.support.design.widget.TextInputLayout>

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

    <android.support.design.widget.FloatingActionButton
            android:id="@+id/btn_register_user"
            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"
            app:dotCount="5"
            app:dotSize="12dp" />

</LinearLayout>