<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="220dp"
    android:layout_height="wrap_content"
    android:background="@drawable/background_shape_white_radius_5">

    <com.facebook.drawee.view.SimpleDraweeView
        android:id="@+id/coverImage"
        style="@style/frescoStyle"
        android:layout_width="0dp"
        android:layout_height="96dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:roundBottomEnd="false"
        app:roundBottomStart="false"
        app:roundTopEnd="true"
        app:roundTopStart="true"
        app:roundedCornerRadius="5dp" />

    <TextView
        android:id="@+id/gameCountTv"
        android:layout_width="wrap_content"
        android:layout_height="16dp"
        android:layout_marginEnd="12dp"
        android:layout_marginBottom="8dp"
        android:background="@drawable/button_round_black_alpha_60"
        android:gravity="center"
        android:paddingStart="8dp"
        android:paddingEnd="8dp"
        android:textColor="@color/white_alpha_60"
        android:textSize="@dimen/little_secondary_size"
        app:layout_constraintBottom_toBottomOf="@+id/coverImage"
        app:layout_constraintEnd_toEndOf="@+id/coverImage"
        tools:text="+25" />

    <TextView
        android:id="@+id/titleTv"
        android:layout_width="0dp"
        android:layout_height="38dp"
        android:layout_marginTop="8dp"
        android:ellipsize="end"
        android:gravity="center_vertical"
        android:includeFontPadding="false"
        android:maxLines="1"
        android:paddingStart="12dp"
        android:paddingEnd="12dp"
        android:textColor="@color/text_title"
        android:textSize="@dimen/body_text_size"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/coverImage"
        tools:text="2021年度热门好游一单搞定终极推荐" />

    <com.gh.common.view.GameIconView
        android:id="@+id/gameImage1"
        style="@style/frescoStyle"
        android:layout_width="32dp"
        android:layout_height="32dp"
        android:layout_marginStart="12dp"
        android:visibility="gone"
        app:gameIconBorderColor="@color/background_white"
        app:gameIconBorderWidth="1dp"
        app:gameIconCornerRadius="8dp"
        app:gameIconRemoveCrevice="true"
        app:layout_constraintBottom_toTopOf="@+id/titleTv"
        app:layout_constraintStart_toStartOf="parent"
        tools:visibility="visible" />

    <com.gh.common.view.GameIconView
        android:id="@+id/gameImage2"
        style="@style/frescoStyle"
        android:layout_width="32dp"
        android:layout_height="32dp"
        android:layout_marginStart="4dp"
        android:visibility="gone"
        app:gameIconBorderColor="@color/background_white"
        app:gameIconBorderWidth="1dp"
        app:gameIconCornerRadius="8dp"
        app:gameIconRemoveCrevice="true"
        app:layout_constraintBottom_toTopOf="@+id/titleTv"
        app:layout_constraintStart_toEndOf="@+id/gameImage1"
        tools:visibility="visible" />

    <com.gh.common.view.GameIconView
        android:id="@+id/gameImage3"
        style="@style/frescoStyle"
        android:layout_width="32dp"
        android:layout_height="32dp"
        android:layout_marginStart="4dp"
        android:visibility="gone"
        app:gameIconBorderColor="@color/background_white"
        app:gameIconBorderWidth="1dp"
        app:gameIconCornerRadius="8dp"
        app:gameIconRemoveCrevice="true"
        app:layout_constraintBottom_toTopOf="@+id/titleTv"
        app:layout_constraintStart_toEndOf="@+id/gameImage2"
        tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>