<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/chat_background_color">

    <com.tencent.qcloud.tim.uikit.component.TitleBarLayout
        android:id="@+id/chat_title_bar"
        android:layout_width="match_parent"
        android:layout_height="@dimen/page_title_height" />

    <View
        android:id="@+id/view_line"
        android:layout_below="@+id/chat_title_bar"
        android:layout_width="match_parent"
        android:layout_height="0.3dp"
        android:background="@color/chat_title_line_color" />

    <com.tencent.qcloud.tim.uikit.component.NoticeLayout
        android:id="@+id/chat_group_apply_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/view_line"
        android:visibility="gone" />

    <com.tencent.qcloud.tim.uikit.component.NoticeLayout
        android:id="@+id/chat_notice_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/chat_group_apply_layout"
        android:layout_marginTop="1dp"
        android:visibility="gone" />

    <com.tencent.qcloud.tim.uikit.modules.chat.layout.message.MessageLayout
        android:id="@+id/chat_message_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/chat_notice_layout"
        android:layout_above="@id/chat_at_text_view"
        android:baselineAligned="false"
        android:clickable="false"
        android:descendantFocusability="blocksDescendants" />

    <TextView
        android:id="@+id/chat_at_text_view"
        android:layout_width="wrap_content"
        android:layout_height="20dp"
        android:text="@string/ui_at_me"
        android:visibility="gone"
        android:layout_above="@+id/chat_input_layout"
        android:textColor="@color/read_dot_bg"
        android:background="@color/list_bottom_text_bg"
        android:layout_alignParentEnd="true"
        android:layout_marginEnd="@dimen/btn_margin_right"/>


    <com.tencent.qcloud.tim.uikit.modules.chat.layout.input.InputLayout
        android:id="@+id/chat_input_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true" />

    <RelativeLayout
        android:id="@+id/voice_recording_view"
        android:layout_width="150dp"
        android:layout_height="150dp"
        android:layout_centerInParent="true"
        android:background="@drawable/ic_volume_dialog_bg"
        android:visibility="gone">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_centerInParent="true"
            android:gravity="center_horizontal"
            android:orientation="vertical">


            <ImageView
                android:id="@+id/recording_icon"
                android:layout_width="match_parent"
                android:layout_height="100dp"
                android:layout_marginTop="10dp"/>


            <TextView
                android:id="@+id/recording_tips"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="12sp"
                android:layout_marginTop="10dp" />

        </LinearLayout>
    </RelativeLayout>
    <LinearLayout
        android:id="@+id/forward_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:gravity="center_horizontal"
        android:orientation="horizontal"
        android:visibility="gone">


        <Button
            android:id="@+id/forward_button"
            android:layout_width="wrap_content"
            android:layout_height="70dp"
            android:layout_weight="1"
            android:background="@color/navigation_bar_color"
            android:textColor="@color/black_font_color"
            android:text="@string/forward_button" />


        <Button
            android:id="@+id/delete_button"
            android:layout_width="wrap_content"
            android:layout_height="70dp"
            android:layout_weight="1"
            android:background="@color/navigation_bar_color"
            android:textColor="@color/black_font_color"
            android:text="@string/delete_button" />

    </LinearLayout>
</RelativeLayout>
