<?xml version="1.0" encoding="utf-8"?>
<com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
    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:id="@+id/group"
    android:padding="16dp"
    app:backgroundColorToken="@string/color_surface_element_normal"
    app:radiusToken="@string/radius_l">

    <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
        android:id="@+id/modelTitle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="10dp"
        android:text="@string/role_playing_model"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:textColorToken="@string/color_txt_primary_normal"
        app:textToken="@string/txt_title_s" />

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/priceTips"
        android:layout_width="40dp"
        android:layout_height="40dp"
        android:padding="12dp"
        android:src="@mipmap/ic_tips"
        app:layout_constraintBottom_toBottomOf="@+id/modelTitle"
        app:layout_constraintTop_toTopOf="@+id/modelTitle"
        app:layout_constraintStart_toEndOf="@+id/modelTitle" />

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/modelSelect"
        android:layout_width="20dp"
        android:layout_height="20dp"
        android:src="@mipmap/icon_checked"
        app:layout_constraintBottom_toBottomOf="@+id/modelTitle"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="@+id/modelTitle" />

    <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
        android:id="@+id/modelDesc"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginTop="4dp"
        android:text="@string/have_a_role_playing_conversation_with_ai"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/modelTitle"
        app:textColorToken="@string/color_txt_secondary_normal"
        app:textToken="@string/txt_body_s" />

    <com.remax.visualnovel.widget.uitoken.view.UITokenFrameLayout
        android:id="@+id/priceGroup"
        android:layout_width="match_parent"
        android:layout_height="108dp"
        android:layout_marginTop="12dp"
        app:backgroundColorToken="@string/color_surface_district_normal"
        app:layout_constraintTop_toBottomOf="@+id/modelDesc"
        app:radiusToken="@string/radius_m" />

    <com.remax.visualnovel.widget.PriceView
        android:id="@+id/priceView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginHorizontal="12dp"
        app:layout_constraintBottom_toTopOf="@+id/priceView2"
        app:layout_constraintHorizontal_chainStyle="packed"
        app:layout_constraintStart_toStartOf="@+id/priceGroup"
        app:layout_constraintTop_toTopOf="@+id/priceGroup"
        app:priceIconSize="12dp"
        app:priceText="20/Text Message"
        app:priceTextToken="@string/txt_body_s"
        />


    <com.remax.visualnovel.widget.PriceView
        android:id="@+id/priceView2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintBottom_toTopOf="@+id/priceView3"
        app:layout_constraintStart_toStartOf="@+id/priceView1"
        app:layout_constraintTop_toBottomOf="@+id/priceView1"
        app:priceIconSize="12dp"
        app:priceText="40/Voice call message"
        app:priceTextToken="@string/txt_body_s"
        />

    <com.remax.visualnovel.widget.PriceView
        android:id="@+id/priceView3"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintBottom_toBottomOf="@+id/priceGroup"
        app:layout_constraintStart_toStartOf="@+id/priceView2"
        app:layout_constraintTop_toBottomOf="@+id/priceView2"
        app:priceIconSize="12dp"
        app:priceText="40/Voice call message"
        app:priceTextToken="@string/txt_body_s"
        />



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