<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:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="5dp"
    android:layout_marginBottom="5dp"
    android:orientation="horizontal"
    android:gravity="center_vertical"
    android:id="@+id/root"
    android:clickable="true">

    <LinearLayout
        android:layout_width="0dp"
        android:layout_weight="1"
        android:layout_height="60dp"
        android:orientation="horizontal"
        android:gravity="center_vertical"
        android:background="@drawable/background_button_source"
        android:paddingStart="12dp">

        <ImageView
            android:id="@+id/image_source"
            android:layout_width="35dp"
            android:layout_height="35dp"
            android:contentDescription="@string/cd_platform_indicator"
            app:srcCompat="@drawable/ic_peertube"
            android:scaleType="fitCenter" />

        <LinearLayout
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="wrap_content"
            android:orientation="vertical">

            <TextView
                android:id="@+id/text_source"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                tools:text="Patreon"
                android:textSize="14dp"
                android:textColor="#AAAAAA"
                android:fontFamily="@font/inter_light"
                android:layout_marginStart="8dp"
                android:layout_marginEnd="8dp"
                android:maxLines="1"
                android:ellipsize="end" />

            <TextView
                android:id="@+id/text_source_subtitle"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:text="@string/under_construction"
                android:textSize="12dp"
                android:textColor="@color/gray_ac"
                android:fontFamily="@font/inter_extra_light"
                android:layout_marginStart="8dp"
                android:layout_marginEnd="8dp"
                android:maxLines="1"
                android:ellipsize="end" />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/button_add"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:background="@drawable/background_button_gray_straight_left"
            android:paddingStart="8dp"
            android:paddingEnd="8dp"
            android:paddingTop="4dp"
            android:paddingBottom="4dp"
            android:gravity="center_vertical">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textSize="12dp"
                android:textColor="#AAAAAA"
                android:fontFamily="@font/inter_light"
                android:text="@string/enable" />
        </LinearLayout>
    </LinearLayout>
</LinearLayout>