<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:background="#1B1B1B"
    android:padding="14dp">

    <ImageView
        android:id="@+id/image_device"
        app:srcCompat="@drawable/ic_device"
        android:layout_width="44dp"
        android:layout_height="44dp"
        android:background="@drawable/background_2e_round"
        android:padding="10dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent" />

    <LinearLayout
        android:id="@+id/layout_link_type"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintRight_toLeftOf="@id/image_clear"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        android:background="@drawable/background_border_2e_round_6dp"
        android:padding="8dp"
        android:orientation="horizontal"
        android:gravity="center"
        android:layout_marginEnd="12dp">

        <ImageView
            android:id="@+id/image_link_type"
            app:srcCompat="@drawable/ic_internet"
            android:layout_width="12dp"
            android:layout_height="12dp"
            android:scaleType="fitCenter"
            android:background="@drawable/background_2e_round"
            app:layout_constraintRight_toRightOf="@id/image_device"
            app:layout_constraintTop_toTopOf="@id/image_device" />

        <TextView
            android:id="@+id/text_link_type"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Proxied"
            android:fontFamily="@font/inter_regular"
            android:textSize="10dp"
            android:textColor="#bfbfbf"
            android:layout_marginStart="4dp"/>

    </LinearLayout>



    <ImageView
        android:id="@+id/image_clear"
        android:layout_width="16dp"
        android:layout_height="16dp"
        app:srcCompat="@drawable/ic_clear_16dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        android:layout_marginEnd="6dp"
        android:layout_marginStart="6dp"
        android:padding="2dp" />

    <TextView
        android:id="@+id/text_name"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:text="Device #1"
        android:lines="1"
        android:ellipsize="end"
        android:fontFamily="@font/inter_regular"
        android:textSize="14dp"
        android:layout_marginStart="6dp"
        android:layout_marginEnd="6dp"
        app:layout_constraintStart_toEndOf="@id/image_device"
        app:layout_constraintEnd_toStartOf="@id/layout_link_type"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toTopOf="@id/text_status"/>

    <TextView
        android:id="@+id/text_status"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:text="Last synced 1 min ago"
        android:lines="1"
        android:ellipsize="end"
        android:fontFamily="@font/inter_regular"
        android:textSize="10dp"
        android:textColor="#595959"
        android:layout_marginStart="6dp"
        android:layout_marginEnd="6dp"
        app:layout_constraintStart_toEndOf="@id/image_device"
        app:layout_constraintEnd_toStartOf="@id/layout_link_type"
        app:layout_constraintTop_toBottomOf="@id/text_name"
        app:layout_constraintBottom_toBottomOf="parent"/>

</androidx.constraintlayout.widget.ConstraintLayout>