<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:gravity="center_vertical"
    android:paddingTop="13dp"
    android:paddingBottom="13dp"
    tools:background="@color/white">
    <LinearLayout
        android:id="@+id/achievement_container"
        android:layout_width="156dp"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:background="@drawable/layout_rounded_bg_gray_700"
        android:clipChildren="true"
        android:layout_centerHorizontal="true"
        android:layout_alignParentTop="true"
        android:gravity="center_horizontal"
        android:layout_margin="4dp">
        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="66dp">
            <com.facebook.drawee.view.SimpleDraweeView
                android:id="@+id/achievement_icon"
                android:layout_width="64dp"
                android:layout_height="56dp"
                app:actualImageScaleType="fitCenter"
                android:layout_gravity="center"/>
        </FrameLayout>
        <TextView
            android:id="@+id/achievement_title"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:minHeight="40dp"
            style="@style/Body1"
            android:gravity="center"
            android:textColor="@color/gray_100"
            android:background="@color/gray_600"
            android:paddingStart="@dimen/spacing_medium"
            android:paddingEnd="@dimen/spacing_medium"
            android:paddingTop="@dimen/spacing_small"
            android:paddingBottom="@dimen/spacing_small"/>
    </LinearLayout>
    <TextView
        android:id="@+id/achievement_count_label"
        android:layout_width="wrap_content"
        android:layout_height="24dp"
        android:minWidth="24dp"
        android:background="@drawable/achievement_badge_bg"
        android:gravity="center"
        tools:text="1"
        android:paddingStart="2dp"
        android:paddingEnd="2dp"
        android:textColor="@color/white"
        android:textSize="12sp"
        android:textStyle="bold"
        android:layout_alignParentTop="true"
        android:layout_alignStart="@id/achievement_container"
        android:layout_marginStart="-4dp"/>
</RelativeLayout>