<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/cl_scheduled_conference_detail"
    android:background="@color/tuiroomkit_color_main_scheduled_room_info"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/cl_scheduled_room_info_title"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:background="@color/tuiroomkit_color_white"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toStartOf="parent">

        <ImageView
            android:id="@+id/img_arrows_return"
            android:layout_width="22dp"
            android:layout_height="22dp"
            android:layout_marginStart="16dp"
            android:src="@drawable/tuiroomkit_icon_arrows_left"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"/>

        <TextView
            android:id="@+id/tv_conference_info"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="16sp"
            android:text="@string/tuiroomkit_scheduled_room_detail_text"
            android:textColor="#2B2E38"
            android:textStyle="bold"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"/>

        <TextView
            android:id="@+id/tv_modify_room_info"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginEnd="16dp"
            android:text="@string/tuiroomkit_scheduled_modify_text"
            android:textSize="16sp"
            android:textColor="#1C66E5"
            android:textStyle="bold"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"/>

    </androidx.constraintlayout.widget.ConstraintLayout>
    
    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/cl_scheduled_room_info"
        android:layout_width="343dp"
        android:layout_height="329dp"
        android:background="@drawable/tuiroomkit_scheduled_room_info_background"
        android:layout_marginTop="20dp"
        app:layout_constraintTop_toBottomOf="@+id/cl_scheduled_room_info_title"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent">

        <TextView
            android:id="@+id/tv_scheduled_room_name_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tuiroomkit_scheduled_room_name"
            android:textColor="#2B2E38"
            android:textStyle="bold"
            android:textSize="16sp"
            android:layout_marginStart="20dp"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toTopOf="@id/tv_scheduled_room_id_title"/>

        <TextView
            android:id="@+id/tv_scheduled_room_id_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tuiroomkit_scheduled_room_id"
            android:textColor="#2B2E38"
            android:textStyle="bold"
            android:textSize="16sp"
            app:layout_constraintBottom_toTopOf="@id/tv_scheduled_start_time_title"
            app:layout_constraintTop_toBottomOf="@id/tv_scheduled_room_name_title"
            app:layout_constraintStart_toStartOf="@id/tv_scheduled_room_name_title"/>

        <TextView
            android:id="@+id/tv_scheduled_start_time_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tuiroomkit_scheduled_start_time"
            android:textSize="16sp"
            android:textColor="#2B2E38"
            android:textStyle="bold"
            app:layout_constraintTop_toBottomOf="@+id/tv_scheduled_room_id_title"
            app:layout_constraintStart_toStartOf="@+id/tv_scheduled_room_id_title"
            app:layout_constraintBottom_toTopOf="@+id/tv_scheduled_room_duration_title"/>

        <TextView
            android:id="@+id/tv_scheduled_room_duration_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tuiroomkit_scheduled_duration"
            android:textSize="16sp"
            android:textColor="#2B2E38"
            android:textStyle="bold"
            app:layout_constraintStart_toStartOf="@+id/tv_scheduled_start_time_title"
            app:layout_constraintTop_toBottomOf="@+id/tv_scheduled_start_time_title"
            app:layout_constraintBottom_toTopOf="@+id/tv_scheduled_room_type_title"/>

        <TextView
            android:id="@+id/tv_scheduled_room_type_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tuiroomkit_scheduled_room_type"
            android:textSize="16sp"
            android:textColor="#2B2E38"
            android:textStyle="bold"
            app:layout_constraintStart_toStartOf="@+id/tv_scheduled_room_duration_title"
            app:layout_constraintTop_toBottomOf="@+id/tv_scheduled_room_duration_title"
            app:layout_constraintBottom_toTopOf="@+id/tv_scheduled_room_password_title"/>

        <TextView
            android:id="@+id/tv_scheduled_room_password_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="16sp"
            android:textColor="#2B2E38"
            android:text="@string/tuiroomkit_room_password_title"
            android:textStyle="bold"
            app:layout_constraintStart_toStartOf="@+id/tv_scheduled_room_type_title"
            app:layout_constraintTop_toBottomOf="@+id/tv_scheduled_room_type_title"
            app:layout_constraintBottom_toTopOf="@+id/tv_room_initiator_title"/>

        <TextView
            android:id="@+id/tv_scheduled_room_password"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="#2B2E38"
            android:textSize="16sp"
            android:alpha="0.7"
            android:maxLines="1"
            android:maxWidth="150dp"
            android:ellipsize="end"
            app:layout_constraintTop_toTopOf="@+id/tv_scheduled_room_password_title"
            app:layout_constraintBottom_toBottomOf="@+id/tv_scheduled_room_password_title"
            app:layout_constraintEnd_toEndOf="@+id/tv_scheduled_room_type"/>

        <TextView
            android:id="@+id/tv_room_initiator_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tuiroomkit_scheduled_host"
            android:textSize="16sp"
            android:textColor="#2B2E38"
            android:textStyle="bold"
            app:layout_constraintStart_toStartOf="@+id/tv_scheduled_room_type_title"
            app:layout_constraintTop_toBottomOf="@+id/tv_scheduled_room_password_title"
            app:layout_constraintBottom_toTopOf="@+id/tv_members_of_conference_title"/>

        <TextView
            android:id="@+id/tv_members_of_conference_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tuiroomkit_scheduled_attendees"
            android:textSize="16sp"
            android:textColor="#2B2E38"
            android:textStyle="bold"
            app:layout_constraintStart_toStartOf="@id/tv_room_initiator_title"
            app:layout_constraintTop_toBottomOf="@+id/tv_room_initiator_title"
            app:layout_constraintBottom_toBottomOf="parent"/>

        <TextView
            android:id="@+id/tv_scheduled_room_name"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginEnd="20dp"
            android:layout_marginStart="40dp"
            android:textColor="#2B2E38"
            android:textSize="16sp"
            android:maxLines="1"
            android:ellipsize="end"
            android:gravity="end"
            android:alpha="0.7"
            app:layout_constraintStart_toEndOf="@+id/tv_scheduled_room_name_title"
            app:layout_constraintTop_toTopOf="@+id/tv_scheduled_room_name_title"
            app:layout_constraintEnd_toEndOf="parent"/>


        <TextView
            android:id="@+id/tv_scheduled_room_id"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="#2B2E38"
            android:textSize="16sp"
            android:layout_marginEnd="4dp"
            android:alpha="0.7"
            app:layout_constraintTop_toBottomOf="@+id/tv_scheduled_room_name"
            app:layout_constraintTop_toTopOf="@+id/tv_scheduled_room_id_title"
            app:layout_constraintEnd_toStartOf="@+id/img_copy_room_id_icon"/>

        <ImageView
            android:id="@+id/img_copy_room_id_icon"
            android:layout_width="16dp"
            android:layout_height="16dp"
            android:layout_marginEnd="20dp"
            android:src="@drawable/tuiroomkit_icon_copy_room_id"
            app:layout_constraintTop_toTopOf="@+id/tv_scheduled_room_id"
            app:layout_constraintBottom_toBottomOf="@id/tv_scheduled_room_id"
            app:layout_constraintEnd_toEndOf="parent"/>

        <TextView
            android:id="@+id/tv_scheduled_start_time"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="#2B2E38"
            android:textSize="16sp"
            android:alpha="0.7"
            app:layout_constraintTop_toTopOf="@+id/tv_scheduled_start_time_title"
            app:layout_constraintEnd_toEndOf="@+id/img_copy_room_id_icon"/>

        <TextView
            android:id="@+id/tv_scheduled_room_duration"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="#2B2E38"
            android:textSize="16sp"
            android:alpha="0.7"
            app:layout_constraintEnd_toEndOf="@+id/tv_scheduled_start_time"
            app:layout_constraintTop_toTopOf="@+id/tv_scheduled_room_duration_title"/>

        <TextView
            android:id="@+id/tv_scheduled_room_type"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="#2B2E38"
            android:textSize="16sp"
            android:alpha="0.7"
            android:maxLines="1"
            android:maxWidth="150dp"
            android:ellipsize="end"
            app:layout_constraintTop_toTopOf="@+id/tv_scheduled_room_type_title"
            app:layout_constraintEnd_toEndOf="@+id/tv_scheduled_room_duration"/>

        <ImageView
            android:id="@+id/img_user_avatar"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintEnd_toStartOf="@+id/tv_room_initiator"
            app:layout_constraintTop_toTopOf="@+id/tv_room_initiator"/>

        <TextView
            android:id="@+id/tv_room_initiator"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textColor="#2B2E38"
            android:textSize="16sp"
            android:alpha="0.7"
            app:layout_constraintEnd_toEndOf="@+id/tv_scheduled_room_type"
            app:layout_constraintTop_toTopOf="@+id/tv_room_initiator_title"/>

        <androidx.constraintlayout.widget.ConstraintLayout
            android:id="@+id/ll_members_of_conference"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:gravity="center_vertical|end"
            android:layout_marginStart="20dp"
            app:layout_constraintStart_toEndOf="@+id/tv_members_of_conference_title"
            app:layout_constraintTop_toTopOf="@+id/tv_members_of_conference_title"
            app:layout_constraintEnd_toEndOf="@+id/tv_room_initiator"
            app:layout_constraintBottom_toBottomOf="@+id/tv_members_of_conference_title">

            <androidx.constraintlayout.utils.widget.ImageFilterView
                android:id="@+id/img_first_attendee_avatar"
                android:layout_width="32dp"
                android:layout_height="32dp"
                android:layout_marginEnd="8dp"
                android:visibility="gone"
                app:round="2dp"
                app:layout_constraintEnd_toStartOf="@+id/img_second_attendee_avatar"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintBottom_toBottomOf="parent">

            </androidx.constraintlayout.utils.widget.ImageFilterView>

            <androidx.constraintlayout.utils.widget.ImageFilterView
                android:id="@+id/img_second_attendee_avatar"
                android:layout_width="32dp"
                android:layout_height="32dp"
                android:layout_marginEnd="8dp"
                android:visibility="gone"
                app:round="2dp"
                app:layout_constraintEnd_toStartOf="@+id/img_third_attendee_avatar"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintBottom_toBottomOf="parent">

            </androidx.constraintlayout.utils.widget.ImageFilterView>

            <androidx.constraintlayout.utils.widget.ImageFilterView
                android:id="@+id/img_third_attendee_avatar"
                android:layout_width="32dp"
                android:layout_height="32dp"
                android:layout_marginEnd="8dp"
                android:visibility="gone"
                app:round="2dp"
                app:layout_constraintEnd_toStartOf="@+id/tv_members_count"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintBottom_toBottomOf="parent">

            </androidx.constraintlayout.utils.widget.ImageFilterView>

            <TextView
                android:id="@+id/tv_members_count"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textColor="#4F586B"
                android:textSize="16sp"
                android:alpha="0.7"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintEnd_toStartOf="@+id/img_arrows_right"/>

            <ImageView
                android:id="@+id/img_arrows_right"
                android:layout_width="16dp"
                android:layout_height="16dp"
                android:layout_marginStart="8dp"
                android:src="@drawable/tuiroomkit_icon_arrows_right"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintTop_toTopOf="parent"/>

        </androidx.constraintlayout.widget.ConstraintLayout>

    </androidx.constraintlayout.widget.ConstraintLayout>

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/cl_enter_scheduled_room"
        android:layout_width="343dp"
        android:layout_height="44dp"
        android:layout_marginTop="20dp"
        android:background="@drawable/tuiroomkit_scheduled_room_enter_background"
        app:layout_constraintTop_toBottomOf="@+id/cl_scheduled_room_info"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent">

        <TextView
            android:id="@+id/tv_enter_scheduled_room"
            android:text="@string/tuiroomkit_scheduled_enter_room"
            android:textColor="#0961F7"
            android:textSize="16sp"
            android:textStyle="bold"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintEnd_toEndOf="parent"/>

    </androidx.constraintlayout.widget.ConstraintLayout>

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/cl_invite_members"
        android:layout_marginTop="20dp"
        android:layout_width="343dp"
        android:layout_height="44dp"
        android:background="@drawable/tuiroomkit_scheduled_room_enter_background"
        app:layout_constraintTop_toBottomOf="@+id/cl_enter_scheduled_room"
        app:layout_constraintStart_toStartOf="@+id/cl_enter_scheduled_room">

        <TextView
            android:text="@string/tuiroomkit_scheduled_invite_members"
            android:textColor="#0961F7"
            android:textSize="16sp"
            android:textStyle="bold"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintEnd_toEndOf="parent"/>

    </androidx.constraintlayout.widget.ConstraintLayout>

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/cl_cancel_room"
        android:layout_marginTop="20dp"
        android:layout_width="343dp"
        android:layout_height="44dp"
        android:background="@drawable/tuiroomkit_scheduled_room_cancel_background"
        app:layout_constraintTop_toBottomOf="@+id/cl_invite_members"
        app:layout_constraintStart_toStartOf="@+id/cl_invite_members">

        <TextView
            android:text="@string/tuiroomkit_scheduled_cancel_room"
            android:textColor="#ED414D"
            android:textSize="16sp"
            android:textStyle="bold"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintEnd_toEndOf="parent"/>

    </androidx.constraintlayout.widget.ConstraintLayout>

</androidx.constraintlayout.widget.ConstraintLayout>