<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <RelativeLayout
        android:id="@+id/reply_preview_bar"
        android:layout_width="wrap_content"
        android:layout_height="62dp"
        android:background="#F0F9F9F9"
        android:visibility="gone"
        tools:visibility="visible">

        <View
            android:id="@+id/reply_preview_bar_line"
            android:layout_width="6dp"
            android:layout_height="match_parent"
            android:layout_alignParentStart="true"
            android:background="#D9D9D9" />

        <TextView
            android:id="@+id/reply_preview_bar_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
            android:layout_marginStart="8dp"
            android:layout_marginTop="10dp"
            android:layout_toStartOf="@id/reply_preview_bar_close_btn"
            android:layout_toEndOf="@id/reply_preview_bar_line"
            android:ellipsize="end"
            android:maxLines="1"
            android:textAlignment="viewStart"
            android:textColor="#000000"
            android:textSize="14sp"
            tools:text="name" />

        <TextView
            android:id="@+id/reply_preview_bar_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/reply_preview_bar_name"
            android:layout_alignStart="@id/reply_preview_bar_name"
            android:layout_marginTop="8dp"
            android:layout_toStartOf="@id/reply_preview_bar_close_btn"
            android:ellipsize="end"
            android:maxLines="1"
            android:textAlignment="viewStart"
            android:textColor="#99000000"
            android:textSize="14sp"
            tools:text="desc" />

        <ImageView
            android:id="@+id/reply_preview_bar_close_btn"
            android:layout_width="22dp"
            android:layout_height="22dp"
            android:padding="4dp"
            android:layout_alignParentEnd="true"
            android:layout_centerVertical="true"
            android:layout_marginStart="8dp"
            android:layout_marginEnd="12dp"
            android:background="@drawable/common_item_pressed_effect_background"
            android:src="@drawable/reply_close_btn" />


    </RelativeLayout>


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="bottom"
        android:orientation="horizontal"
        android:paddingStart="8dp"
        android:paddingTop="7dp"
        android:paddingEnd="16dp"
        android:paddingBottom="7dp">

        <ImageView
            android:id="@+id/input_more_btn"
            android:layout_width="37dp"
            android:layout_height="37dp"
            android:padding="8dp"
            android:scaleType="centerCrop"
            android:background="@drawable/common_item_pressed_effect_background"
            android:layout_gravity="center_vertical"
            android:src="@drawable/chat_minimalist_input_add_icon" />

        <ImageView
            android:id="@+id/voice_delete"
            android:layout_width="21dp"
            android:layout_height="21dp"
            android:layout_gravity="center_vertical"
            android:visibility="gone" />

        <LinearLayout
            android:id="@+id/text_input_layout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="6dp"
            android:layout_marginEnd="8dp"
            android:layout_weight="1"
            android:clipToPadding="false"
            android:clipChildren="false"
            android:background="@drawable/chat_minimalist_input_edittext_border"
            android:orientation="horizontal"
            android:paddingStart="12dp"
            android:paddingEnd="12dp">

            <com.tencent.qcloud.tuikit.tuichat.component.inputedittext.TIMMentionEditText
                android:id="@+id/input_edit_text"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:minHeight="@dimen/chat_input_editor_min_height"
                android:background="@null"
                android:hint="@string/chat_input_edit_hint_text"
                android:textAlignment="viewStart"
                android:textColor="@color/black_font_color"
                android:textColorHint="#666666"
                android:textCursorDrawable="@drawable/common_edit_cursor"
                android:focusableInTouchMode="true"
                android:focusable="true"
                android:textFontWeight="400"
                android:textSize="14sp" />

            <ImageView
                android:id="@+id/input_face_btn"
                android:layout_width="32dp"
                android:layout_height="32dp"
                android:layout_gravity="center_vertical"
                android:scaleType="centerCrop"
                android:padding="8dp"
                android:layout_marginEnd="-8dp"
                android:background="@drawable/common_item_pressed_effect_background"
                android:src="@drawable/chat_minimalist_input_face_icon" />

            <ImageView
                android:id="@+id/chatbot_interrupt_button"
                android:layout_width="32dp"
                android:layout_height="32dp"
                android:layout_gravity="bottom|end"
                android:scaleType="centerCrop"
                android:padding="8dp"
                android:layout_marginBottom="4dp"
                android:layout_marginEnd="-8dp"
                android:background="@drawable/common_item_pressed_effect_background"
                android:visibility="gone"
                tools:visibility="visible"
                android:src="@drawable/chat_chatbot_interrupt_icon" />


        </LinearLayout>

        <FrameLayout
            android:id="@+id/chat_voice_input_layout"
            android:layout_width="match_parent"
            android:layout_height="36dp"
            android:layout_marginStart="14dp"
            android:layout_marginEnd="16dp"
            android:layout_weight="1"
            android:visibility="gone">

            <Button
                android:id="@+id/chat_voice_input"
                style="?android:attr/borderlessButtonStyle"
                android:layout_width="match_parent"
                android:layout_height="36dp"
                android:layout_gravity="center_vertical"
                android:gravity="start|center_vertical"
                android:text="0:00"
                android:textAllCaps="false"
                android:textColor="@color/text_color_gray"
                android:visibility="visible" />

            <com.tencent.qcloud.tuikit.tuichat.minimalistui.widget.input.waveview.VoiceWaveView
                android:id="@+id/voice_wave_view"
                android:layout_width="match_parent"
                android:layout_height="36dp"
                android:layout_gravity="center_vertical"
                android:layout_marginStart="55dp"
                android:gravity="center"
                app:chat_voice_line_color="@color/white"
                app:chat_voice_line_space="2dp"
                app:chat_voice_line_width="2dp"
                app:chat_voice_wave_mode="left_right" />
        </FrameLayout>

        <ImageView
            android:id="@+id/input_voice_btn"
            android:layout_width="36dp"
            android:layout_height="36dp"
            android:layout_gravity="center_vertical"
            android:layout_marginEnd="8dp"
            android:padding="6dp"
            android:scaleType="centerCrop"
            android:clickable="true"
            android:background="@drawable/common_item_pressed_effect_background"
            android:src="@drawable/chat_minimalist_input_voice_icon" />

        <ImageView
            android:id="@+id/input_image_btn"
            android:layout_width="36dp"
            android:layout_height="36dp"
            android:layout_gravity="center_vertical"
            android:padding="6dp"
            android:scaleType="centerCrop"
            android:background="@drawable/common_item_pressed_effect_background"
            android:src="@drawable/chat_minimalist_input_camera_icon" />

    </LinearLayout>


    <LinearLayout
        android:id="@+id/quote_preview_bar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
        android:orientation="horizontal"
        android:paddingTop="10dp"
        android:paddingBottom="10dp"
        android:visibility="gone"
        tools:visibility="visible">

        <TextView
            android:id="@+id/quote_text"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginStart="12dp"
            android:layout_weight="1"
            android:ellipsize="end"
            android:maxLines="1"
            android:textAlignment="viewStart"
            android:textSize="@dimen/reply_text_size"
            tools:text="test" />

        <ImageView
            android:id="@+id/quote_close_btn"
            android:layout_width="22dp"
            android:layout_height="22dp"
            android:padding="4dp"
            android:layout_marginEnd="12dp"
            android:background="@drawable/common_item_pressed_effect_background"
            android:src="@drawable/reply_close_btn" />
    </LinearLayout>

    <FrameLayout
        android:id="@+id/more_groups"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:visibility="gone" />
</LinearLayout>
