<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/drawer_menu"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="false"
    >

    <!--  页面内容  -->
    <com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
        android:id="@+id/content_container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@mipmap/splash_bg" >

        <com.remax.visualnovel.widget.toolbar.CommonToolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            />

        <com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
            android:id="@+id/content_sub_container"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/toolbar"
            app:layout_constraintBottom_toBottomOf="parent"
            >
            
            <com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
                android:id="@+id/text_voice_chat_container"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintTop_toTopOf="parent">
                <androidx.recyclerview.widget.RecyclerView
                    android:id="@+id/rv_msg"
                    android:layout_width="match_parent"
                    android:layout_height="0dp"
                    android:layout_marginBottom="-55dp"
                    app:layout_constraintStart_toStartOf="parent"
                    app:layout_constraintEnd_toEndOf="parent"
                    app:layout_constraintTop_toTopOf="parent"
                    app:layout_constraintBottom_toTopOf="@+id/input_panel"
                    />

                <com.remax.visualnovel.ui.chat.customui.InputPanel
                    android:id="@+id/input_panel"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    app:layout_constraintStart_toStartOf="parent"
                    app:layout_constraintEnd_toEndOf="parent"
                    app:layout_constraintBottom_toBottomOf="parent"
                    />
            </com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>

            <com.remax.visualnovel.ui.chat.customui.ChatCallView
                android:id="@+id/call_view"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                android:visibility="gone"
                />

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


    <!-- 右侧抽屉菜单View -->
    <com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
        android:layout_width="320dp"
        android:layout_height="match_parent"
        android:layout_gravity="end"
        android:orientation="vertical">
        <com.remax.visualnovel.ui.chat.setting.customui.ChatSettingView
            android:id="@+id/setting_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            />
    </com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>


</androidx.drawerlayout.widget.DrawerLayout>