From 48abc944f0b9fd42aecc3f0fe6b757e2ce935bbc Mon Sep 17 00:00:00 2001 From: YANGJIANKUAN Date: Fri, 12 Dec 2025 10:39:45 +0800 Subject: [PATCH] feat: opt layout --- .../layout/activity_gjc_box_weighing_add.xml | 7 +- .../activity_int_exp_assemble_start.xml | 162 ++++++++++-------- 2 files changed, 91 insertions(+), 78 deletions(-) diff --git a/module_gjc/src/main/res/layout/activity_gjc_box_weighing_add.xml b/module_gjc/src/main/res/layout/activity_gjc_box_weighing_add.xml index c8a582a..503b2b3 100644 --- a/module_gjc/src/main/res/layout/activity_gjc_box_weighing_add.xml +++ b/module_gjc/src/main/res/layout/activity_gjc_box_weighing_add.xml @@ -123,12 +123,12 @@ @@ -136,8 +136,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/bg_shouyun_dbzl" - android:minHeight="150dp" - android:padding="8dp"> + android:minHeight="60dp"> + + + + @@ -33,30 +37,27 @@ android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.3" - android:background="@drawable/bg_white_radius_8" android:orientation="vertical"> - - - - - + android:layout_weight="3" + android:background="@drawable/bg_white_radius_8" + android:orientation="vertical"> + + + android:layout_marginHorizontal="8dp" + android:layout_marginBottom="16dp" + android:layout_weight="0.6" /> + + + + + + android:orientation="vertical"> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_margin="4dp" /> @@ -160,38 +174,38 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" - android:text="运单号" android:gravity="center" + android:text="运单号" android:textColor="@color/text_normal" - android:textSize="13sp"/> + android:textSize="13sp" /> + android:textSize="13sp" /> + android:textSize="13sp" /> + android:textSize="13sp" /> - - + + - - + + + value="@={viewModel.uldInfo.uldStatus}" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> @@ -295,37 +309,37 @@ android:orientation="horizontal"> - - + + - - + + + value="@={viewModel.waybillInfo.waybillWeight}" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> - - + + - - + + + value="@={viewModel.waybillInfo.operator}" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> @@ -373,8 +387,8 @@