<?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"
    >

    <com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
        android:id="@+id/balanceLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:backgroundColorToken="@string/color_background_specialmap"
        app:layout_constraintTop_toTopOf="parent"
        app:radiusToken="@string/radius_l"
        app:strokeColorToken="@string/color_outline_normal"
        app:strokeWidthToken="@string/border_s">

        <androidx.appcompat.widget.AppCompatImageView
            android:layout_width="0dp"
            android:layout_height="0dp"
            android:layout_marginHorizontal="1dp"
            android:src="@mipmap/bg_level_bill_page"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintDimensionRatio="h,345:132"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent" />

        <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
            android:id="@+id/incomeTitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="24dp"
            android:layout_marginTop="24dp"
            android:text="@string/income"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            app:textColorToken="@string/color_txt_primary_normal"
            app:textToken="@string/txt_title_s" />

        <com.remax.visualnovel.widget.PriceView
            android:id="@+id/income"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:layout_constraintStart_toStartOf="@+id/incomeTitle"
            app:layout_constraintTop_toBottomOf="@+id/incomeTitle"
            app:priceIconPadding="8dp"
            app:priceIconSize="24dp"
            app:priceText="0"
            app:priceTextToken="@string/txt_numDisplay_l" />

        <com.remax.visualnovel.widget.uitoken.view.UITokenImageView
            android:id="@+id/divider"
            style="@style/UIDivider"
            android:layout_marginTop="24dp"
            app:layout_constraintTop_toBottomOf="@+id/income" />


        <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
            android:id="@+id/pendingTitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="24dp"
            android:text="@string/pending"
            app:layout_constraintStart_toStartOf="@+id/incomeTitle"
            app:layout_constraintTop_toBottomOf="@+id/divider"
            app:textColorToken="@string/color_txt_primary_normal"
            app:textToken="@string/txt_title_s" />

        <com.remax.visualnovel.widget.ui.buttons.IconButtonView
            android:id="@+id/pendingTips"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="4dp"
            android:text="@string/icon_question"
            app:iconButtonName="ContrastButton_Tertiary_Dark"
            app:iconButtonRadius="round"
            app:iconButtonSizeType="xsmall"
            app:layout_constraintBottom_toBottomOf="@+id/pendingTitle"
            app:layout_constraintStart_toEndOf="@+id/pendingTitle"
            app:layout_constraintTop_toTopOf="@+id/pendingTitle"
            />

        <com.remax.visualnovel.widget.PriceView
            android:id="@+id/pending"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="4dp"
            app:layout_constraintStart_toStartOf="@+id/incomeTitle"
            app:layout_constraintTop_toBottomOf="@+id/pendingTitle"
            app:priceIconPadding="8dp"
            app:priceIconSize="24dp"
            app:priceText="0"
            app:priceTextToken="@string/txt_numDisplay_l" />


        <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
            android:id="@+id/transactionEnter"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:paddingVertical="24dp"
            android:text="@string/transaction_detail"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/pending"
            app:textColorToken="@string/color_primary_variant_normal"
            app:textToken="@string/txt_label_s" />

    </com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>

    <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="24dp"
        android:text="@string/creation_income"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/balanceLayout"
        app:textColorToken="@string/color_txt_primary_normal"
        app:textToken="@string/txt_title_m" />


</androidx.constraintlayout.widget.ConstraintLayout>


