<?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:fresco="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <com.facebook.drawee.view.SimpleDraweeView
        android:id="@+id/game_image_icon"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        fresco:actualImageScaleType="centerCrop"
        fresco:backgroundImage="@color/placeholder_bg"
        fresco:fadeDuration="500"
        fresco:layout_constraintLeft_toLeftOf="parent"
        fresco:layout_constraintTop_toTopOf="parent"
        fresco:placeholderImage="@drawable/preload"
        fresco:pressedStateOverlayImage="@color/pressed_bg"
        fresco:viewAspectRatio="2.14" />

    <LinearLayout
        android:id="@+id/game_container"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:orientation="vertical"
        android:visibility="visible"
        fresco:layout_constraintBottom_toBottomOf="@id/game_image_icon"
        fresco:layout_constraintRight_toRightOf="parent"
        fresco:layout_constraintTop_toTopOf="@id/game_image_icon">

        <com.gh.gamecenter.feature.view.GameIconView
            android:id="@+id/game_icon"
            android:layout_width="55dp"
            android:layout_height="55dp"
            android:layout_marginLeft="40dp"
            android:layout_marginRight="40dp" />

        <TextView
            android:id="@+id/game_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="4dp"
            android:textColor="@color/white"
            android:textSize="12sp" />

        <TextView
            android:id="@+id/game_size"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="1dp"
            android:textColor="@color/white"
            android:textSize="10sp" />

        <com.gh.gamecenter.feature.view.DownloadButton
            android:id="@+id/progressBar"
            android:layout_width="55dp"
            android:layout_height="22dp"
            android:layout_marginTop="7dp"
            app:download_button_download_style="2"
            app:download_button_show_progress="true"
            app:download_button_text_size="@dimen/little_secondary_size" />

    </LinearLayout>

    <TextView
        android:id="@+id/game_des"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/game_image_icon"
        android:background="@color/background_white"
        android:paddingLeft="20dp"
        android:paddingTop="13dp"
        android:paddingBottom="13dp"
        android:textColor="@color/text_black"
        android:textSize="12sp"
        android:visibility="gone"
        fresco:layout_constraintLeft_toLeftOf="parent"
        fresco:layout_constraintRight_toRightOf="parent"
        fresco:layout_constraintTop_toBottomOf="@id/game_image_icon" />

</androidx.constraintlayout.widget.ConstraintLayout>