<?xml version="1.0" encoding="utf-8"?>
<merge
    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"
    tools:parentTag="com.dji.industry.pandora.uikit.layout.DividerConstraintLayout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:minHeight="?android:attr/listPreferredItemHeight">

    <TextView
        android:id="@+id/subhead"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@color/uxsdk_dic_color_c24_white_Transparent6"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintBottom_toTopOf="@+id/title"
        app:layout_constraintHorizontal_bias="0"
        android:textSize="@dimen/uxsdk_14_dp"
        android:layout_marginTop="@dimen/uxsdk_12_dp"
        android:layout_marginBottom="@dimen/uxsdk_12_dp"
        tools:text="subhead ..........."
        tools:visibility="visible"
        android:visibility="gone"/>

    <androidx.constraintlayout.widget.Barrier
        android:id="@+id/top_barrier"
        app:barrierDirection="bottom"
        app:constraint_referenced_ids="subhead"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>

    <TextView
        android:id="@+id/title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentStart="true"
        android:layout_centerVertical="true"
        app:layout_constraintTop_toBottomOf="@id/top_barrier"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toStartOf="@+id/info_iv"
        android:ellipsize="marquee"
        android:fadingEdge="horizontal"
        android:singleLine="true"
        android:textColor="@color/uxsdk_dic_color_c8_white"
        android:textSize="14dp"
        app:layout_constraintHorizontal_chainStyle="spread_inside"
        android:layout_below="@id/subhead"
        tools:text="title ..........."
        tools:visibility="visible"
        />

    <ImageView
        android:id="@+id/info_iv"
        android:layout_width="@dimen/uxsdk_22_dp"
        android:layout_height="@dimen/uxsdk_22_dp"
        android:layout_gravity="center_vertical"
        android:layout_marginStart="@dimen/uxsdk_4_dp"
        android:paddingStart="@dimen/uxsdk_4_dp"
        android:paddingEnd="@dimen/uxsdk_4_dp"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="@id/title"
        app:layout_constraintEnd_toStartOf="@+id/content"
        app:layout_constraintStart_toEndOf="@id/title"
        app:layout_constraintTop_toTopOf="@id/title" />

    <TextView
        android:id="@+id/content"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:ellipsize="end"
        android:gravity="end"
        android:singleLine="true"
        android:textColor="@color/uxsdk_dic_color_c24_white_Transparent6"
        android:textSize="@dimen/uxsdk_14_dp"
        tools:text="content ..........."
        tools:visibility="visible"
        app:layout_constraintBottom_toBottomOf="@id/title"
        app:layout_constraintEnd_toStartOf="@+id/icon"
        app:layout_constraintStart_toEndOf="@id/info_iv"
        app:layout_constraintTop_toTopOf="@id/title" />

    <ImageView
        android:id="@+id/icon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:layout_marginStart="@dimen/uxsdk_12_dp"
        android:background="@drawable/uxsdk_ic_topbar_signal_level_0"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="@id/title"
        app:layout_constraintEnd_toStartOf="@+id/arrow"
        app:layout_constraintStart_toEndOf="@id/content"
        app:layout_constraintTop_toTopOf="@id/title" />

    <com.mikepenz.iconics.view.IconicsImageView
            android:id="@+id/arrow"
            android:layout_width="@dimen/uxsdk_24_dp"
            android:layout_height="@dimen/uxsdk_24_dp"
            app:layout_constraintTop_toTopOf="@id/title"
            app:layout_constraintBottom_toBottomOf="@id/title"
            app:layout_constraintStart_toEndOf="@id/icon"
            app:layout_constraintEnd_toEndOf="parent"
            android:layout_gravity="center_vertical"
            android:layout_marginStart="@dimen/uxsdk_12_dp"
            android:scaleType="centerCrop"
            android:background="@drawable/uxsdk_ic_setting_enter"
            app:iiv_color="@color/uxsdk_dic_color_c8_white"
            android:layout_alignParentEnd="true"
            android:visibility="gone" />

    <TextView
        android:id="@+id/summary"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="@dimen/uxsdk_20_dp"
        android:layout_marginBottom="@dimen/uxsdk_23_dp"
        android:visibility="gone"
        tools:text="summary ..........."
        tools:visibility="visible"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/title" />

</merge>
