<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/cl_root_view"
    xmlns:tools="http://schemas.android.com/tools"
    android:background="@color/rc_background_main_color"
    android:orientation="vertical">
<!--    真正的聊天显示界面-->

    <io.rong.imkit.widget.refresh.SmartRefreshLayout
        android:id="@+id/rc_refresh"
        android:layout_width="0dp"
        android:layout_height="0dp"
        app:layout_constraintBottom_toTopOf="@id/rc_extension"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/rc_message_list"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:overScrollMode="never" />
    </io.rong.imkit.widget.refresh.SmartRefreshLayout>

    <TextView
        android:id="@+id/rc_new_message_number"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="10dp"
        android:layout_marginBottom="4dp"
        android:background="@drawable/rc_conversation_newmsg"
        android:gravity="center"
        android:paddingBottom="5dp"
        android:textColor="#ffffff"
        android:textSize="12dp"
        android:visibility="invisible"
        app:layout_constraintBottom_toBottomOf="@id/rc_refresh"
        app:layout_constraintEnd_toEndOf="parent" />


    <TextView
        android:id="@+id/rc_unread_message_count"
        android:layout_width="wrap_content"
        android:minWidth="120dp"
        android:layout_height="@dimen/rc_unread_height"
        android:layout_marginStart="3dp"
        android:layout_marginTop="@dimen/rc_margin_size_30"
        android:layout_marginEnd="5dp"
        android:background="@drawable/rc_unread_msg_bg_style"
        android:drawablePadding="3dp"
        android:gravity="center"
        android:paddingStart="7dp"
        android:paddingEnd="7dp"
        tools:text="100条未读消息"
        android:textColor="@color/rc_text_main_color"
        android:textSize="14sp"
        android:visibility="invisible"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:drawableStartCompat="@drawable/rc_unread_msg_arrow" />

    <TextView
        android:id="@+id/rc_mention_message_count"
        android:layout_width="wrap_content"
        android:layout_height="@dimen/rc_unread_height"
        android:layout_marginStart="3dp"
        android:layout_marginTop="@dimen/rc_margin_size_80"
        android:layout_marginEnd="5dp"
        android:minWidth="120dp"
        android:background="@drawable/rc_unread_msg_bg_style"
        android:drawablePadding="3dp"
        android:gravity="center"
        android:paddingStart="7dp"
        android:paddingEnd="7dp"
        android:text="@string/rc_mention_messages"
        tools:text="100条@消息"
        android:textColor="@color/rc_text_main_color"
        android:textSize="14sp"
        android:visibility="gone"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:drawableStartCompat="@drawable/rc_unread_msg_arrow" />

    <io.rong.imkit.conversation.extension.RongExtension
        android:id="@+id/rc_extension"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:visibility="visible"
        app:RCStyle="SCE"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/rc_refresh" />

    <LinearLayout
        android:id="@+id/rc_notification_container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="#660F0F0F"
        android:orientation="vertical"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
