<?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="53dp"
    android:background="@drawable/tuiroomkit_bg_top_view"
    android:paddingTop="5dp">

    <RelativeLayout
        android:id="@+id/rl_meeting_info"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_marginStart="10dp">

        <com.tencent.cloud.tuikit.roomkit.view.main.topnavigationbar.ConferenceNameView
            android:id="@+id/conference_tv_room_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:maxEms="9"
            android:maxLines="1"
            android:ellipsize="end"
            android:textColor="@color/tuiroomkit_color_white"
            android:textSize="16sp" />

        <ImageView
            android:id="@+id/img_arrow_down"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_above="@id/conference_tv_room_duration"
            android:layout_alignParentTop="true"
            android:layout_marginStart="5dp"
            android:layout_toEndOf="@id/conference_tv_room_name"
            android:src="@drawable/tuiroomkit_ic_arrow_down" />

        <com.tencent.cloud.tuikit.roomkit.view.main.topnavigationbar.ConferenceDurationView
            android:id="@+id/conference_tv_room_duration"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/conference_tv_room_name"
            android:layout_centerHorizontal="true" />
    </RelativeLayout>

    <com.tencent.cloud.tuikit.roomkit.view.main.topnavigationbar.AudioRouteSwitchView
        android:id="@+id/conference_view_audio_route"
        android:layout_width="@dimen/tuiroomkit_top_view_item_width"
        android:layout_height="@dimen/tuiroomkit_top_view_item_height"
        android:src="@drawable/tuiroomkit_icon_speaker"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toStartOf="@+id/conference_view_camera_switch"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent" />

    <com.tencent.cloud.tuikit.roomkit.view.main.topnavigationbar.CameraSwitchView
        android:id="@+id/conference_view_camera_switch"
        android:layout_width="@dimen/tuiroomkit_top_view_item_width"
        android:layout_height="@dimen/tuiroomkit_top_view_item_height"
        android:src="@drawable/tuiroomkit_ic_camera_switch"
        app:layout_constraintStart_toEndOf="@id/conference_view_audio_route"
        app:layout_constraintEnd_toStartOf="@+id/btn_report"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent" />

    <com.tencent.cloud.tuikit.roomkit.view.main.topnavigationbar.ReportView
        android:id="@+id/btn_report"
        android:layout_width="@dimen/tuiroomkit_top_view_item_width"
        android:layout_height="@dimen/tuiroomkit_top_view_item_height"
        android:src="@drawable/tuiroomkit_ic_report_room"
        android:visibility="gone"
        app:layout_constraintStart_toEndOf="@id/conference_view_camera_switch"
        app:layout_constraintEnd_toStartOf="@+id/rl_meeting_info"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent" />

    <LinearLayout
        android:id="@+id/btn_exit_room"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_marginEnd="16dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent">

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            app:srcCompat="@drawable/tuiroomkit_ic_exit" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textColor="#ED414D"
            android:text="@string/tuiroomkit_item_leave" />
    </LinearLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height="1px"
        android:background="#22262E"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>