<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingHorizontal="16dp"
    android:paddingVertical="8dp">
    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/bg_search_button">
        <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
            xmlns:tools="http://schemas.android.com/tools"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:padding="16dp">

            <ImageView
                android:id="@+id/image"
                android:layout_width="56dp"
                android:layout_height="56dp"
                android:layout_marginEnd="16dp"
                android:importantForAccessibility="no"
                android:layout_toEndOf="@id/radiobtn"
                android:scaleType="centerCrop"
                android:visibility="gone"
                tools:src="#0f0"/>

            <TextView
                android:id="@+id/title"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_toEndOf="@id/radiobtn"
                android:layout_alignParentTop="true"
                android:layout_marginBottom="4dp"
                android:textAppearance="@style/m3_title_medium"
                android:singleLine="true"
                android:ellipsize="end"
                android:gravity="center_vertical"
                android:textSize="16sp"
                android:minHeight="24dp"
                tools:text="mastodon.social"/>

            <TextView
                android:id="@+id/description"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_toEndOf="@id/radiobtn"
                android:layout_below="@id/title"
                android:layout_marginBottom="8dp"
                android:textAppearance="@style/m3_body_medium"
                android:textColor="?android:textColorSecondary"
                android:textSize="14sp"
                tools:text="General-purpose server run by the lead developer of Mastodon"/>

            <TextView
                android:id="@+id/user_count"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toEndOf="@id/radiobtn"
                android:layout_below="@id/description"
                android:textAppearance="@style/m3_label_medium"
                android:textColor="?android:textColorSecondary"
                android:drawableStart="@drawable/ic_fluent_people_community_16_regular"
                android:drawableTint="?android:textColorSecondary"
                android:drawablePadding="8dp"
                tools:text="588.8K"/>

            <TextView
                android:id="@+id/lang"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toEndOf="@id/user_count"
                android:layout_below="@id/description"
                android:layout_marginStart="24dp"
                android:textAppearance="@style/m3_label_medium"
                android:textColor="?android:textColorSecondary"
                android:drawableStart="@drawable/ic_fluent_local_language_16_regular"
                android:drawableTint="?android:textColorSecondary"
                android:drawablePadding="8dp"
                tools:text="EN"/>

        </RelativeLayout>
    </FrameLayout>
</FrameLayout>