<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:gravity="center_vertical">

    <View
        android:id="@+id/top_line"
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="@color/line" />

    <LinearLayout
        android:id="@+id/view_container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/white"
        android:orientation="horizontal"
        android:gravity="center_vertical">

        <TextView
            android:id="@+id/name"
            android:layout_height="wrap_content"
            android:layout_width="wrap_content"
            android:maxLines="2"
            android:layout_marginStart="@dimen/core_line_controller_margin_left"
            android:textAlignment="viewStart"
            android:textColor="@color/core_line_controller_title_color"
            android:textSize="@dimen/core_line_controller_text_size" />

        <LinearLayout
            android:id="@+id/content_container"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:gravity="end"
            android:layout_gravity="end|center_vertical"
            android:layout_marginStart="20dp"
            android:orientation="horizontal">

            <LinearLayout
                android:id="@+id/content_view"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="16dp"
                android:layout_marginEnd="16dp"
                android:layout_gravity="end|center_vertical"
                android:orientation="horizontal">

                <TextView
                    android:id="@+id/content"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:ellipsize="end"
                    android:singleLine="true"
                    android:textAlignment="viewEnd"
                    android:gravity="end"
                    android:textIsSelectable="true"
                    android:textColor="@color/core_line_controller_content_color"
                    android:textSize="@dimen/core_line_controller_text_size" />

                <ImageView
                    android:id="@+id/rightArrow"
                    android:layout_width="16dp"
                    android:layout_height="16dp"
                    android:layout_gravity="center"
                    android:layout_marginStart="10.56dp"
                    android:src="@drawable/common_arrow_right" />
            </LinearLayout>


            <com.tencent.qcloud.tuikit.timcommon.component.SwitchCustomWidth
                android:id="@+id/btnSwitch"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="30dp"
                android:layout_marginEnd="15.36dp"
                app:custom_width="51dp"
                android:layout_alignParentEnd="true"
                android:layout_centerVertical="true"
                android:textOff=""
                android:textOn=""
                android:thumb="@drawable/minimalist_switch_thumb"
                app:track="@drawable/minimalist_switch_track" />

        </LinearLayout>

        <View
            android:id="@+id/disable_mask"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:visibility="gone"
            android:background="@color/core_line_controller_white_translucent_color"/>
    </LinearLayout>

    <View
        android:id="@+id/bottom_line"
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="@color/line" />
</LinearLayout>