<?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="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_marginTop="6dp"
        android:layout_marginEnd="6dp"
        android:text="@string/icon_close"
        app:iconButtonName="GhostIconButton"
        app:iconButtonSizeType="small"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        tools:visibility="visible" />

    <com.remax.visualnovel.widget.uitoken.view.UITokenTextView
        android:id="@+id/singleTitle"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="24dp"
        android:layout_marginTop="32dp"
        android:layout_marginEnd="24dp"
        android:gravity="center"
        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/singleText"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="24dp"
        android:layout_marginTop="24dp"
        android:layout_marginEnd="24dp"
        android:gravity="center"
        android:overScrollMode="never"
        android:scrollbarThumbVertical="@color/transparent"
        android:scrollbarTrackVertical="@color/transparent"
        android:scrollbars="vertical"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/singleTitle"
        app:textColorToken="@string/color_txt_primary_normal"
        app:textToken="@string/txt_body_l" />

    <View
        android:id="@+id/maskView"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:layout_marginStart="24dp"
        android:layout_marginEnd="24dp"
        android:background="@drawable/shape_dialog_text_mask"
        app:layout_constraintBottom_toBottomOf="@+id/singleText" />

    <com.remax.visualnovel.widget.ui.buttons.ButtonView
        android:id="@+id/singleBtn"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="24dp"
        android:layout_marginEnd="24dp"
        android:text="@string/ok"
        app:buttonName="DefaultButton_Primary"
        app:buttonSizeType="large"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/singleText" />

</androidx.constraintlayout.widget.ConstraintLayout>