<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:orientation="vertical"
    android:padding="24dp"
    android:background="@drawable/dialog_bg">

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Rate us"
        android:textColor="@color/black"
        android:textSize="20sp"
        android:fontFamily="@font/alimama_shuheiti"
        android:gravity="center"
        android:layout_marginBottom="16dp" />

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="We hope this app is useful for you, if it does, would you please give us a 5 star and a nice review on Google Play, it really helps!"
        android:textColor="@color/text_color"
        android:fontFamily="@font/alimama_shuheiti"
        android:textSize="12sp"
        android:lineSpacingExtra="4dp"
        android:gravity="center"
        android:layout_marginBottom="18dp" />

    <LinearLayout
        android:id="@+id/star_rating_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:gravity="center"
        android:layout_marginBottom="18dp">

        <ImageView
            android:id="@+id/star1"
            android:layout_width="32dp"
            android:layout_height="32dp"
            android:layout_margin="4dp"
            android:src="@drawable/star_disabled"
            android:tag="1" />

        <ImageView
            android:id="@+id/star2"
            android:layout_width="32dp"
            android:layout_height="32dp"
            android:layout_margin="4dp"
            android:src="@drawable/star_disabled"
            android:tag="2" />

        <ImageView
            android:id="@+id/star3"
            android:layout_width="32dp"
            android:layout_height="32dp"
            android:layout_margin="4dp"
            android:src="@drawable/star_disabled"
            android:tag="3" />

        <ImageView
            android:id="@+id/star4"
            android:layout_width="32dp"
            android:layout_height="32dp"
            android:layout_margin="4dp"
            android:src="@drawable/star_disabled"
            android:tag="4" />

        <ImageView
            android:id="@+id/star5"
            android:layout_width="32dp"
            android:layout_height="32dp"
            android:layout_margin="4dp"
            android:src="@drawable/star_disabled"
            android:tag="5" />

    </LinearLayout>

    <!-- 按钮布局 -->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:gravity="center">

        <Button
            android:id="@+id/btn_cancel"
            android:layout_width="0dp"
            android:layout_height="40dp"
            android:layout_weight="1"
            android:layout_marginEnd="8dp"
            android:text="cancel"
            android:textColor="@color/text_color"
            android:fontFamily="@font/alimama_shuheiti"
            android:background="@drawable/button_cancel"
            android:textAllCaps="true" />

        <Button
            android:id="@+id/btn_rate"
            android:layout_width="0dp"
            android:layout_height="40dp"
            android:layout_weight="1"
            android:layout_marginStart="8dp"
            android:text="RATE IT"
            android:textColor="@color/white"
            android:fontFamily="@font/alimama_shuheiti"
            android:background="@drawable/button_rateit_disa"
            android:textAllCaps="true"
            android:enabled="false" />

    </LinearLayout>
</LinearLayout>