<?xml version="1.0" encoding="utf-8"?>
<com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
    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="wrap_content"
    android:padding="@dimen/dp_20" >

    <com.remax.visualnovel.ui.chat.PopMenuIconView
        android:id="@+id/chat_pop_menu"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        android:layout_marginBottom="@dimen/dp_2"
        />

    <com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
        android:id="@+id/cl_most_bottom_container"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        app:layout_constraintStart_toEndOf="@+id/chat_pop_menu"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_marginStart="@dimen/dp_10"
        app:radiusToken="@string/radius_40"
        app:backgroundColorToken="@string/color_surface_element_normal"
        >
        <FrameLayout
            android:id="@+id/iv_hold2talk"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            android:visibility="gone">
            <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/hold_to_talk"
                app:drawableLeftCompat="@mipmap/chat_voice_s"
                android:textStyle="bold"
                android:textColor="@color/white"
                android:textSize="@dimen/sp_15"
                android:gravity="center"
                android:layout_gravity="center"
                android:drawablePadding="@dimen/dp_5"
                />
        </FrameLayout>

        <com.remax.visualnovel.widget.uitoken.view.UITokenImageView
            android:id="@+id/iv_chat_mode_switcher"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@mipmap/chat_voice_b"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            android:paddingHorizontal="@dimen/dp_12"
            android:padding="@dimen/dp_12"
            />

        <com.remax.visualnovel.widget.uitoken.view.UITokenImageView
            android:id="@+id/iv_chat_send"
            android:layout_width="@dimen/dp_60"
            android:layout_height="@dimen/dp_44"
            android:src="@mipmap/chat_send"
            android:padding="@dimen/dp_12"
            android:layout_margin="@dimen/dp_3"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:radiusToken="@string/radius_xxl"
            app:backgroundColorToken="@string/color_surface_float_hover"
            />



        <com.remax.visualnovel.ui.chat.ChatEditView
            android:id="@+id/chat_edit_view"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:clickable="true"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintStart_toEndOf="@id/iv_chat_mode_switcher"
            app:layout_constraintEnd_toStartOf="@id/iv_chat_send"
            android:layout_marginEnd="@dimen/dp_12"
            android:background="@color/transparent"
            android:hint="@string/type_msg_hint"
            android:textSize="@dimen/sp_12"
            android:textColor="@color/white"
            android:maxLines="8"
            />

    </com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>


    <com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
        android:id="@+id/ll_right_menu_container"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintBottom_toTopOf="@id/cl_most_bottom_container"
        android:layout_marginBottom="@dimen/dp_20"
        >

        <com.remax.visualnovel.widget.uitoken.view.UITokenImageView
            android:id="@+id/iv_goto_bottom"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@mipmap/chat_download"
            android:layout_marginEnd="@dimen/dp_10"
            />

        <com.remax.visualnovel.widget.uitoken.view.UITokenImageView
            android:id="@+id/iv_chat_vip"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@mipmap/chat_vip_1"
            android:layout_marginEnd="@dimen/dp_10"
            />

    </com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>

</com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>






