<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:tools="http://schemas.android.com/tools"
	xmlns:app="http://schemas.android.com/apk/res-auto"
	android:orientation="horizontal"
	android:layout_width="match_parent"
	android:layout_height="wrap_content"
	android:paddingHorizontal="16dp"
	android:paddingTop="32dp"
	android:paddingBottom="16dp"
	android:clipToPadding="false">

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

		<TextView
			android:id="@+id/rank"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:fontFamily="@font/manrope_w600"
			android:textSize="61.04dp"
			android:textColor="#FFBE2E"
			tools:text="#1"/>

		<TextView
			android:id="@+id/count"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:fontFamily="@font/manrope_w600"
			android:textColor="#858AFA"
			android:textSize="14dp"
			tools:text="47 boosts"/>

	</LinearLayout>

	<RelativeLayout
		android:layout_width="0dp"
		android:layout_height="185dp"
		android:layout_weight="1"
		android:background="@drawable/rect_12dp"
		android:backgroundTint="#141218"
		android:foreground="@drawable/rect_12dp_stroke"
		android:foregroundTint="#49454F">

		<org.joinmastodon.android.ui.wrapstodon.RoundedImageView
			android:id="@+id/cover"
			android:layout_width="match_parent"
			android:layout_height="81dp"
			android:layout_marginBottom="8dp"
			android:scaleType="centerCrop"
			app:cornerRadius="13dp"
			app:roundBottomCorners="false"
			tools:src="#0f0"/>
		
		<org.joinmastodon.android.ui.wrapstodon.RoundedImageView
			android:id="@+id/avatar"
			android:layout_width="56dp"
			android:layout_height="56dp"
			android:layout_alignParentStart="true"
			android:layout_alignParentTop="true"
			android:layout_marginStart="12dp"
			android:layout_marginTop="69dp"
			android:layout_marginEnd="8dp"
			app:cornerRadius="13dp"
			android:foreground="@drawable/rect_12dp_stroke2dp"
			android:foregroundTint="#141218"
			tools:src="#f00"/>

		<TextView
			android:id="@+id/name"
			android:layout_width="match_parent"
			android:layout_height="20dp"
			android:layout_toEndOf="@id/avatar"
			android:layout_below="@id/cover"
			android:layout_marginEnd="12dp"
			android:singleLine="true"
			android:ellipsize="end"
			android:textColor="#E6E0E9"
			android:fontFamily="sans-serif-medium"
			android:textSize="14dp"
			android:gravity="center_vertical"
			tools:text="Cody Fisher"/>

		<TextView
			android:id="@+id/username"
			android:layout_width="match_parent"
			android:layout_height="16dp"
			android:layout_alignLeft="@id/name"
			android:layout_alignRight="@id/name"
			android:layout_below="@id/name"
			android:textSize="12dp"
			android:textColor="#CAC4D0"
			android:singleLine="true"
			android:ellipsize="end"
			android:gravity="center_vertical"
			tools:text="\@cfisher@mastodon.social"/>
		
		<LinearLayout
			android:id="@+id/posts_counter"
			android:layout_width="wrap_content"
			android:layout_height="36dp"
			android:layout_below="@id/avatar"
			android:layout_marginStart="12dp"
			android:layout_marginTop="12dp"
			android:layout_marginEnd="32dp"
			android:orientation="vertical">

			<TextView
				android:id="@+id/posts_value"
				android:layout_width="wrap_content"
				android:layout_height="20dp"
				android:textSize="14dp"
				android:fontFamily="sans-serif-medium"
				android:textColor="#E6E0E9"
				android:gravity="center_vertical"
				android:singleLine="true"
				tools:text="109"/>
			
			<TextView
				android:id="@+id/posts_label"
				android:layout_width="wrap_content"
				android:layout_height="16dp"
				android:textSize="11dp"
				android:textColor="#CAC4D0"
				android:gravity="center_vertical"
				android:singleLine="true"
				tools:text="posts"/>

		</LinearLayout>

		<LinearLayout
			android:id="@+id/followers_counter"
			android:layout_width="wrap_content"
			android:layout_height="36dp"
			android:layout_below="@id/avatar"
			android:layout_toEndOf="@id/posts_counter"
			android:layout_marginTop="12dp"
			android:layout_marginEnd="32dp"
			android:orientation="vertical">

			<TextView
				android:id="@+id/followers_value"
				android:layout_width="wrap_content"
				android:layout_height="20dp"
				android:textSize="14dp"
				android:fontFamily="sans-serif-medium"
				android:textColor="#E6E0E9"
				android:gravity="center_vertical"
				android:singleLine="true"
				tools:text="109"/>

			<TextView
				android:id="@+id/followers_label"
				android:layout_width="wrap_content"
				android:layout_height="16dp"
				android:textSize="11dp"
				android:textColor="#CAC4D0"
				android:gravity="center_vertical"
				android:singleLine="true"
				tools:text="posts"/>

		</LinearLayout>

		<LinearLayout
			android:id="@+id/following_counter"
			android:layout_width="wrap_content"
			android:layout_height="36dp"
			android:layout_below="@id/avatar"
			android:layout_toEndOf="@id/followers_counter"
			android:layout_marginTop="12dp"
			android:orientation="vertical">

			<TextView
				android:id="@+id/following_value"
				android:layout_width="wrap_content"
				android:layout_height="20dp"
				android:textSize="14dp"
				android:fontFamily="sans-serif-medium"
				android:textColor="#E6E0E9"
				android:gravity="center_vertical"
				android:singleLine="true"
				tools:text="109"/>

			<TextView
				android:id="@+id/following_label"
				android:layout_width="wrap_content"
				android:layout_height="16dp"
				android:textSize="11dp"
				android:textColor="#CAC4D0"
				android:gravity="center_vertical"
				android:singleLine="true"
				tools:text="posts"/>

		</LinearLayout>

	</RelativeLayout>

</LinearLayout>