<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/tuiroomkit_bg_main_color_black">

    <androidx.appcompat.widget.Toolbar
        android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="?android:attr/actionBarSize"
        app:navigationIcon="@drawable/tuiroomkit_ic_back">

        <TextView
            android:id="@+id/main_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:singleLine="true"
            android:text="@string/tuiroomkit_create_room"
            android:textColor="@color/tuiroomkit_color_text_light_grey"
            android:textSize="16sp"
            android:textStyle="bold" />
    </androidx.appcompat.widget.Toolbar>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@+id/toolbar"
        android:orientation="vertical"
        android:paddingStart="16dp"
        android:paddingEnd="16dp">

        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="18dp"
            android:background="@drawable/tuiroomkit_bg_radius_light_black"
            android:paddingStart="16dp"
            android:paddingEnd="16dp">

            <TextView
                android:id="@+id/tv_room_type_title"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:layout_marginTop="18dp"
                android:text="@string/tuiroomkit_room_type"
                android:textColor="@color/tuiroomkit_color_text_light_grey"
                android:textSize="16sp"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                tools:layout_editor_absoluteY="22dp" />

            <TextView
                android:id="@+id/tv_room_type"
                android:layout_width="0dp"
                android:layout_height="0dp"
                android:layout_gravity="center_vertical"
                android:layout_marginStart="20dp"
                android:text="@string/tuiroomkit_room_free_speech"
                android:textColor="@color/tuiroomkit_color_text_light_grey"
                app:drawableEndCompat="@drawable/tuiroomkit_ic_arrow_down_white"
                app:layout_constraintBottom_toBottomOf="@+id/tv_room_type_title"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toEndOf="@id/tv_room_type_title"
                app:layout_constraintTop_toTopOf="@+id/tv_room_type_title" />

            <View
                android:id="@+id/divider1"
                android:layout_width="match_parent"
                android:layout_height="0.5dp"
                android:layout_marginTop="15dp"
                android:background="@color/tuiroomkit_color_divide_line"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@id/tv_room_type_title" />

            <TextView
                android:id="@+id/user_name_title"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:layout_marginTop="15dp"
                android:layout_marginBottom="18dp"
                android:text="@string/tuiroomkit_your_name"
                android:textColor="@color/tuiroomkit_color_text_light_grey"
                android:textSize="16sp"
                app:layout_constraintEnd_toEndOf="@+id/tv_room_type_title"
                app:layout_constraintStart_toStartOf="@+id/tv_room_type_title"
                app:layout_constraintTop_toBottomOf="@id/divider1"
                app:layout_constraintBottom_toBottomOf="parent"/>

            <TextView
                android:id="@+id/tv_user_name"
                android:layout_width="0dp"
                android:layout_height="0dp"
                android:layout_gravity="center_vertical"
                android:textColor="@color/tuiroomkit_color_text_light_grey"
                android:textSize="16sp"
                app:layout_constraintBottom_toBottomOf="@+id/user_name_title"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintHorizontal_bias="0.495"
                app:layout_constraintStart_toStartOf="@id/tv_room_type"
                app:layout_constraintTop_toTopOf="@+id/user_name_title" />

        </androidx.constraintlayout.widget.ConstraintLayout>

        <LinearLayout
            android:id="@+id/ll_setting_container"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="20dp"
            android:background="@drawable/tuiroomkit_bg_radius_light_black"
            android:orientation="vertical" />

    </LinearLayout>

    <TextView
        android:id="@+id/tv_create"
        android:layout_width="200dp"
        android:layout_height="50dp"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="70dp"
        android:background="@drawable/tuiroomkit_btn_join"
        android:enabled="true"
        android:gravity="center"
        android:text="@string/tuiroomkit_create_room"
        android:textColor="@color/tuiroomkit_color_text_light_grey"
        android:textSize="14sp" />

</RelativeLayout>

