Files
xqwatch/app/src/main/res/layout/dialog_tip.xml
dongliang eb5fdd2d5f fix: QuTipDialog 图标和字体继续放大
图标区域 110→140dp,图标字号 50→65sp,标题 28→36sp,描述 20→24sp。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 15:55:40 +09:30

74 lines
2.5 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- QuTipDialog反馈提示弹窗优化版
大圆形图标 + 标题,简洁清晰 -->
<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
android:id="@+id/tipContent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:paddingStart="21dp"
android:paddingEnd="21dp">
<!-- 圆形图标背景140dp占屏幕宽度 ~44% -->
<FrameLayout
android:layout_width="140dp"
android:layout_height="140dp"
android:layout_marginBottom="16dp">
<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"
android:textSize="65sp" />
</FrameLayout>
<!-- 标题36sp -->
<TextView
android:id="@+id/tipTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/text_primary"
android:textSize="36sp"
android:textStyle="bold" />
<!-- 描述24sp可选 -->
<TextView
android:id="@+id/tipDesc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/text_secondary"
android:textSize="24sp"
android:gravity="center"
android:lineSpacingMultiplier="1.4"
android:layout_marginTop="8dp"
android:visibility="gone" />
<!-- 倒计时(隐藏,只在需要时显示) -->
<TextView
android:id="@+id/tipBackBtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:textColor="@color/text_secondary"
android:textSize="18sp"
android:layout_marginTop="24dp"
android:padding="8dp"
android:visibility="gone" />
</LinearLayout>
</FrameLayout>