From f2ed393686c089377607316c155c459197c2b1c5 Mon Sep 17 00:00:00 2001 From: TaiwanStar Developer Date: Mon, 8 Jun 2026 13:59:32 +0800 Subject: [PATCH] =?UTF-8?q?style(ui):=20=E5=84=AA=E5=8C=96=E5=87=BA?= =?UTF-8?q?=E8=B2=A8=E9=80=B2=E5=BA=A6=E5=B0=8D=E8=A9=B1=E6=A1=86=E7=B5=90?= =?UTF-8?q?=E6=A7=8B=E3=80=81=E7=89=88=E9=9D=A2=E8=87=AA=E9=81=A9=E6=87=89?= =?UTF-8?q?=E8=88=87=E9=85=8D=E8=89=B2=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 頁面標題改為「出貨進度」,背景調整為主色 (primary) - 新增並更新多國語言字串 (processing, dispatch_progress) - 重構底部的當前出貨進度區塊結構,移除冗餘嵌套,將區塊背景設為 cardSurface - 取消按鈕樣式改為 warning/onWarning 配色,扁平化結構並去除冗餘 FrameLayout - 清單區域高度改為 weight=1 自適應剩餘空間,移除 Space 元件,背景改為 background 色 --- app/src/main/res/layout/dialog_dispatch.xml | 130 ++++++-------------- app/src/main/res/values-en/strings.xml | 2 + app/src/main/res/values-ja/strings.xml | 2 + app/src/main/res/values/strings.xml | 2 + 4 files changed, 41 insertions(+), 95 deletions(-) diff --git a/app/src/main/res/layout/dialog_dispatch.xml b/app/src/main/res/layout/dialog_dispatch.xml index 3e94c4d..4532e9f 100644 --- a/app/src/main/res/layout/dialog_dispatch.xml +++ b/app/src/main/res/layout/dialog_dispatch.xml @@ -4,15 +4,16 @@ xmlns:tools="http://schemas.android.com/tools" android:id="@+id/linearLayout3" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="match_parent" android:background="@color/light_gray"> @@ -21,9 +22,9 @@ android:id="@+id/textView" android:layout_width="match_parent" android:layout_height="40dp" - android:background="@color/error" + android:background="@color/primary" android:gravity="center" - android:text="@string/shopping_cart_checkout" + android:text="@string/dispatch_progress" android:textColor="@color/white" android:textSize="20sp" android:textStyle="bold" /> @@ -51,7 +52,9 @@ @@ -67,130 +70,67 @@ + android:layout_height="match_parent" /> + + android:background="@color/cardSurface" + android:orientation="vertical"> - - + android:textColor="@color/onPrimary" /> - - - - - - - + android:layout_height="240dp" + android:adjustViewBounds="true" + android:scaleType="fitCenter" + android:paddingTop="5dp" + android:paddingBottom="5dp" + android:paddingLeft="20dp" + android:paddingRight="20dp" + android:src="@drawable/default_product" /> - - - + android:textColor="@color/black" /> - - - + android:textColor="@color/primary" />