<?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"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingBottom="16dp">

    <com.remax.visualnovel.widget.ui.buttons.IconButtonView
        android:id="@+id/cancelBtn"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="end"
        android:layout_marginTop="16dp"
        android:layout_marginEnd="16dp"
        android:text="@string/icon_close"
        app:iconButtonName="ContrastButton_Tertiary_Light"
        app:iconButtonRadius="round"
        app:iconButtonSizeType="small"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
        android:id="@+id/giftTitle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="32dp"
        android:text="@string/recharge_dialog_title"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:textColorToken="@string/color_txt_primary_normal"
        app:textToken="@string/txt_title_m" />

    <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
        android:id="@+id/giftDesc"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="24dp"
        android:layout_marginTop="24dp"
        android:text="@string/recharge_dialog_tips"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/giftTitle"
        app:textColorToken="@string/color_txt_primary_normal"
        app:textToken="@string/txt_body_s" />

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/rvRecharge"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="24dp"
        android:nestedScrollingEnabled="false"
        android:overScrollMode="never"
        app:layout_constraintTop_toBottomOf="@+id/giftDesc" />

    <com.remax.visualnovel.widget.PriceView
        android:id="@+id/balance"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="24dp"
        app:layout_constraintBottom_toBottomOf="@+id/btnRecharge"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@+id/btnRecharge"
        app:priceIconPadding="8dp"
        app:priceIconSize="24dp"
        app:priceTextToken="@string/txt_numDisplay_m"
        />

    <com.remax.visualnovel.widget.ui.buttons.ButtonView
        android:id="@+id/btnRecharge"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="48dp"
        android:layout_marginTop="16dp"
        android:layout_marginEnd="24dp"
        android:text="@string/recharge"
        app:buttonName="DefaultButton_Primary"
        app:buttonSizeType="large"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toEndOf="@+id/balance"
        app:layout_constraintTop_toBottomOf="@+id/rvRecharge" />

</androidx.constraintlayout.widget.ConstraintLayout>