<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/close_dialog_rate_background"
        android:paddingStart="24dp"
        android:paddingEnd="24dp"
        android:paddingTop="32dp"
        android:paddingBottom="40dp">

        <!-- 关闭按钮 -->
        <ImageView
            android:id="@+id/im_close"
            android:layout_width="24dp"
            android:layout_height="24dp"
            android:src="@drawable/tiny_ic_close_dialog"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <!-- 标题 -->
        <com.app.brush.guitar.ink.iguana.IsotopeTextView
            android:id="@+id/tv_title"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginStart="40dp"
            android:layout_marginTop="8dp"
            android:layout_marginEnd="40dp"
            android:gravity="center"
            android:text="@string/rate_us_title"
            android:textColor="@color/main_text_color"
            android:textSize="22sp"
            android:textStyle="bold"
            app:apply_font="true"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <!-- 星星评分区域 - 放在中间位置 -->
        <LinearLayout
            android:id="@+id/layout_stars"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="48dp"
            android:orientation="horizontal"
            android:gravity="center"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/tv_title">

            <ImageView
                android:id="@+id/star1"
                android:layout_width="50dp"
                android:layout_height="50dp"
                android:layout_marginEnd="10dp"
                android:padding="8dp"
                android:src="@drawable/full_ic_empty_star"
                android:tag="1"
                android:clickable="true"
                android:focusable="true"
                android:contentDescription="1 star" />

            <ImageView
                android:id="@+id/star2"
                android:layout_width="50dp"
                android:layout_height="50dp"
                android:layout_marginEnd="10dp"
                android:padding="8dp"
                android:src="@drawable/full_ic_empty_star"
                android:tag="2"
                android:clickable="true"
                android:focusable="true"
                android:contentDescription="2 stars" />

            <ImageView
                android:id="@+id/star3"
                android:layout_width="50dp"
                android:layout_height="50dp"
                android:layout_marginEnd="10dp"
                android:padding="8dp"
                android:src="@drawable/full_ic_empty_star"
                android:tag="3"
                android:clickable="true"
                android:focusable="true"
                android:contentDescription="3 stars" />

            <ImageView
                android:id="@+id/star4"
                android:layout_width="50dp"
                android:layout_height="50dp"
                android:layout_marginEnd="10dp"
                android:padding="8dp"
                android:src="@drawable/full_ic_empty_star"
                android:tag="4"
                android:clickable="true"
                android:focusable="true"
                android:contentDescription="4 stars" />

            <ImageView
                android:id="@+id/star5"
                android:layout_width="50dp"
                android:layout_height="50dp"
                android:padding="8dp"
                android:src="@drawable/full_ic_empty_star"
                android:tag="5"
                android:clickable="true"
                android:focusable="true"
                android:contentDescription="5 stars" />

        </LinearLayout>

        <!-- 提交按钮 -->
        <com.app.brush.guitar.ink.iguana.IsotopeTextView
            android:id="@+id/tv_submit"
            android:layout_width="280dp"
            android:layout_height="52dp"
            android:layout_marginTop="40dp"
            android:background="@drawable/high_selector_enable_button"
            android:gravity="center"
            android:text="@string/submit"
            android:textColor="@color/white"
            android:textSize="16sp"
            android:visibility="gone"
            app:apply_font="true"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/layout_stars"
            app:layout_constraintBottom_toBottomOf="parent" />

    </androidx.constraintlayout.widget.ConstraintLayout>

</FrameLayout>




