<?xml version="1.0" encoding="utf-8"?>
<org.joinmastodon.android.ui.views.CheckableRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:orientation="horizontal"
	android:layout_width="match_parent"
	android:layout_height="wrap_content"
	android:gravity="center_vertical">
	
	<ImageView
		android:id="@+id/avatar"
		android:layout_width="36dp"
		android:layout_height="36dp"
		android:layout_marginHorizontal="16dp"
		android:layout_marginVertical="12dp"
		android:layout_alignParentStart="true"
		android:layout_centerInParent="true"
		android:importantForAccessibility="no"/>

	<View
		android:id="@+id/radiobtn"
		android:layout_width="32dp"
		android:layout_height="32dp"
		android:layout_centerInParent="true"
		android:layout_toStartOf="@+id/extra_btn_wrap"
		android:layout_alignWithParentIfMissing="true"
		android:layout_marginEnd="20dp"
		android:layout_marginStart="12dp"
		android:duplicateParentState="true" />

	<FrameLayout
		android:id="@id/extra_btn_wrap"
		android:layout_width="72dp"
		android:layout_height="72dp"
		android:layout_alignParentEnd="true"
		android:layout_marginStart="12dp"
		android:visibility="gone">
		<View
			android:layout_width="1dp"
			android:layout_height="36dp"
			android:layout_gravity="center_vertical|start"
			android:background="?colorM3OutlineVariant" />
		<ImageButton
			android:id="@+id/extra_btn"
			android:layout_width="match_parent"
			android:layout_height="match_parent"
			android:layout_gravity="center"
			android:contentDescription="@string/sk_open_in_app"
			android:tooltipText="@string/sk_open_in_app"
			android:src="@drawable/ic_fluent_open_24_regular"
			android:background="?android:selectableItemBackground" />
	</FrameLayout>

	<LinearLayout
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_toEndOf="@id/avatar"
		android:layout_toStartOf="@id/radiobtn"
		android:layout_centerInParent="true"
		android:orientation="vertical">

		<TextView
			android:id="@+id/name"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:textAppearance="@style/m3_body_large"
			android:textColor="?colorM3OnSurface"
			android:gravity="center_vertical"
			android:singleLine="true"
			android:ellipsize="end"/>

		<TextView
			android:id="@+id/username"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:textColor="?android:textColorSecondary"
			android:textAppearance="@style/m3_body_medium"
			android:singleLine="true"
			android:gravity="center_vertical"
			android:ellipsize="end"/>

	</LinearLayout>

</org.joinmastodon.android.ui.views.CheckableRelativeLayout>