2026-04-27 11:26:50 +09:30
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2026-05-06 15:40:07 +09:30
|
|
|
|
<!-- QuTipDialog:反馈提示弹窗(优化版)
|
|
|
|
|
|
大圆形图标 + 标题,简洁清晰 -->
|
2026-04-27 11:26:50 +09:30
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:background="@color/background">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
2026-05-06 15:40:07 +09:30
|
|
|
|
android:id="@+id/tipContent"
|
2026-04-27 11:26:50 +09:30
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:orientation="vertical"
|
2026-04-28 13:58:09 +09:30
|
|
|
|
android:paddingStart="21dp"
|
|
|
|
|
|
android:paddingEnd="21dp">
|
2026-04-27 11:26:50 +09:30
|
|
|
|
|
2026-05-06 15:55:40 +09:30
|
|
|
|
<!-- 圆形图标背景(140dp,占屏幕宽度 ~44%) -->
|
2026-04-28 13:58:09 +09:30
|
|
|
|
<FrameLayout
|
2026-05-06 15:55:40 +09:30
|
|
|
|
android:layout_width="140dp"
|
|
|
|
|
|
android:layout_height="140dp"
|
2026-05-06 15:40:07 +09:30
|
|
|
|
android:layout_marginBottom="16dp">
|
2026-04-27 11:26:50 +09:30
|
|
|
|
|
2026-04-28 13:58:09 +09:30
|
|
|
|
<View
|
|
|
|
|
|
android:id="@+id/tipIconBg"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tipIcon"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:gravity="center"
|
2026-05-06 15:55:40 +09:30
|
|
|
|
android:textSize="65sp" />
|
2026-04-28 13:58:09 +09:30
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
2026-05-06 15:55:40 +09:30
|
|
|
|
<!-- 标题(36sp) -->
|
2026-04-27 11:26:50 +09:30
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tipTitle"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:textColor="@color/text_primary"
|
2026-05-06 15:55:40 +09:30
|
|
|
|
android:textSize="36sp"
|
2026-04-28 13:58:09 +09:30
|
|
|
|
android:textStyle="bold" />
|
2026-04-27 11:26:50 +09:30
|
|
|
|
|
2026-05-06 15:55:40 +09:30
|
|
|
|
<!-- 描述(24sp,可选) -->
|
2026-04-27 11:26:50 +09:30
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tipDesc"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:textColor="@color/text_secondary"
|
2026-05-06 15:55:40 +09:30
|
|
|
|
android:textSize="24sp"
|
2026-04-27 11:26:50 +09:30
|
|
|
|
android:gravity="center"
|
2026-04-28 13:58:09 +09:30
|
|
|
|
android:lineSpacingMultiplier="1.4"
|
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
|
android:visibility="gone" />
|
2026-04-27 11:26:50 +09:30
|
|
|
|
|
2026-05-06 15:40:07 +09:30
|
|
|
|
<!-- 倒计时(隐藏,只在需要时显示) -->
|
2026-04-27 11:26:50 +09:30
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tipBackBtn"
|
2026-04-28 13:58:09 +09:30
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
2026-04-27 11:26:50 +09:30
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:textColor="@color/text_secondary"
|
2026-04-28 13:58:09 +09:30
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
|
|
android:padding="8dp"
|
2026-04-27 11:26:50 +09:30
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|