<?xml version="1.0" encoding="utf-8"?>

<FrameLayout xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
             android:layout_height="match_parent"
             xmlns:android="http://schemas.android.com/apk/res/android"
             xmlns:app="http://schemas.android.com/apk/res-auto">

<org.thoughtcrime.securesms.components.InputAwareLayout
        android:id="@+id/container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginTop="20dp"
        android:orientation="vertical">

        <LinearLayout android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="16dp"
                      android:layout_marginRight="16dp"
                      android:orientation="horizontal">

            <ImageView android:id="@+id/avatar"
                       android:layout_width="64dp"
                       android:layout_height="64dp"
                       android:transitionName="avatar"/>

            <android.support.design.widget.TextInputLayout
                android:id="@+id/name"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp">

                <android.support.design.widget.TextInputEditText
                    android:id="@+id/name_text"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:hint="@string/profile_create_activity__your_name"
                    android:inputType="textCapWords" />
            </android.support.design.widget.TextInputLayout>

        </LinearLayout>

    <android.support.design.widget.TextInputLayout
        android:id="@+id/status"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="16dp"
        android:layout_marginRight="16dp"
        android:layout_marginTop="16dp">

        <android.support.design.widget.TextInputEditText
            android:id="@+id/status_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="top|left"
            android:hint="@string/default_status_hint"
            android:inputType="textMultiLine"
            android:maxLines="3" />
    </android.support.design.widget.TextInputLayout>

        <LinearLayout android:id="@+id/information_link_container"
                      android:clickable="true"
                      android:orientation="horizontal"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="16dp"
                      android:layout_marginRight="16dp"
                      android:layout_marginTop="16dip"
                      android:gravity="center_horizontal|center_vertical">

            <ImageView android:layout_width="wrap_content"
                       android:layout_height="match_parent"
                       android:clickable="false"
                       android:layout_gravity="center_vertical"
                       android:gravity="center_vertical"
                       android:src="@drawable/ic_info_white_18dp"
                       android:tint="#73B7F0"/>

            <TextView
                android:id="@+id/information_label"
                style="@style/Registration.Description"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_gravity="center_vertical"
                android:layout_marginLeft="3dp"
                android:clickable="true"
                android:gravity="center_vertical"
                android:text="@string/profile_create_activity__who_can_see_this_information"
                android:textColor="#73B7F0" />
        </LinearLayout>


        <LinearLayout android:orientation="vertical"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:gravity="bottom"
                      android:clipChildren="false"
                      android:clipToPadding="false">

            <TextView
                android:id="@+id/password_account_settings_button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                android:layout_marginBottom="20dp"
                android:layout_marginTop="0dp"
                android:text="@string/profile_create_activity__password_account"
                android:textColor="#73B7F0"
                android:textSize="16sp"
                android:textStyle="normal"
                android:typeface="sans" />

            <org.thoughtcrime.securesms.components.emoji.EmojiDrawer
                    xmlns:android="http://schemas.android.com/apk/res/android"
                    android:id="@+id/emoji_drawer"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:visibility="gone" />

        </LinearLayout>

</org.thoughtcrime.securesms.components.InputAwareLayout>

    <View
        android:id="@+id/reveal"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/textsecure_primary"
        android:visibility="invisible" />

</FrameLayout>
