<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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/linear_layout_charac_details"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:layout_marginBottom="@dimen/space_S"
        android:background="@color/silabs_black" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="24dp"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="4dp"
            android:orientation="horizontal">

            <TextView
                android:id="@+id/characteristic_title"
                style="@style/Silabs_Rebranding_Title"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:layout_weight="1"
                android:ellipsize="end"
                android:gravity="start|center_vertical"
                android:maxLines="1"
                android:singleLine="true"
                android:text="@string/characteristic_default_name"

                android:textSize="@dimen/characteristic_name_text_size" />

            <TextView
                android:id="@+id/tv_rename_char"
                style="@style/Silabs_Rebranding_Body"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:contentDescription="@string/content_desc_rename_icon"
                android:drawablePadding="@dimen/property_icon_text_padding"
                android:gravity="end|center_vertical"
                android:text="@string/rename"
                android:textSize="@dimen/card_view_text_info_size"
                android:visibility="gone"
                app:drawableStartCompat="@drawable/redesign_ic_card_view_action_icon_rename"
                app:drawableTint="@color/silabs_redtheme_primary_color"
                tools:visibility="visible" />
        </LinearLayout>


        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="horizontal">

            <TextView
                style="@style/Silabs_Rebranding_Body"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/UUID_colon_space"
                android:textColor="@color/silabs_black"
                android:textSize="@dimen/characteristic_uuid_text_size" />

            <TextView
                android:id="@+id/characteristic_uuid"
                style="@style/Silabs_Rebranding_Body"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:ellipsize="end"
                android:singleLine="true"
                android:text="@string/UUID_label"
                android:textColor="@color/silabs_redtheme_filer_hint_text_color"
                android:textSize="@dimen/characteristic_uuid_text_size" />

        </LinearLayout>

    </LinearLayout>

    <LinearLayout
        android:id="@+id/descriptors_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="12dp"
        android:orientation="vertical">

        <TextView
            android:id="@+id/text_view_descriptors_label"
            style="@style/Silabs_Rebranding_Body"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginHorizontal="40dp"
            android:layout_marginBottom="8dp"
            android:fontFamily="@font/stolzl_medium"
            android:text="@string/Descriptors_colon"
            android:textColor="@color/silabs_primary_text"
            android:textSize="@dimen/descriptor_text_size" />

        <LinearLayout
            android:id="@+id/linear_layout_descriptor"
            style="@style/list_item_card_view_details_container"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:paddingStart="40dp"
            android:paddingEnd="24dp"
            tools:layout_height="20dp" />

    </LinearLayout>

    <LinearLayout
        android:id="@+id/characteristic_props_container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:layout_marginHorizontal="24dp"
        android:orientation="horizontal" />

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <LinearLayout
            android:id="@+id/characteristic_expansion"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:visibility="gone" />
    </RelativeLayout>

</LinearLayout>