2026-04-27 11:26:50 +09:30
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
<!-- QuConfirmDialog 布局:确认弹窗
|
|
|
|
|
|
结构:半透明遮罩 + 居中内容区 + 底部取消(×)/确认(✓)图标按钮 -->
|
|
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
android:id="@+id/confirmOverlay"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:background="@color/overlay">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
|
android:padding="@dimen/spacing_lg">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 内容区域(由调用方动态设置) -->
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
|
android:id="@+id/confirmContent"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_xl" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 底部按钮组(取消 × / 确认 ✓) -->
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 取消按钮(×) -->
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/btnCancel"
|
2026-04-27 13:14:39 +09:30
|
|
|
|
android:layout_width="70dp"
|
|
|
|
|
|
android:layout_height="70dp"
|
2026-04-27 11:26:50 +09:30
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="\ue623"
|
|
|
|
|
|
android:textColor="@color/text_secondary"
|
2026-04-27 13:14:39 +09:30
|
|
|
|
android:textSize="44sp"
|
2026-04-27 11:26:50 +09:30
|
|
|
|
android:layout_marginEnd="@dimen/spacing_xl" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 确认按钮(✓) -->
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/btnConfirm"
|
2026-04-27 13:14:39 +09:30
|
|
|
|
android:layout_width="70dp"
|
|
|
|
|
|
android:layout_height="70dp"
|
2026-04-27 11:26:50 +09:30
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="\ue600"
|
|
|
|
|
|
android:textColor="@color/success"
|
2026-04-27 13:14:39 +09:30
|
|
|
|
android:textSize="44sp" />
|
2026-04-27 11:26:50 +09:30
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|