diff --git a/module_gjc/src/main/res/layout/activity_gjc_box_weighing_details.xml b/module_gjc/src/main/res/layout/activity_gjc_box_weighing_details.xml index 2b440a6..a67bd6d 100644 --- a/module_gjc/src/main/res/layout/activity_gjc_box_weighing_details.xml +++ b/module_gjc/src/main/res/layout/activity_gjc_box_weighing_details.xml @@ -41,35 +41,35 @@ android:layout_height="wrap_content" android:orientation="horizontal"> - - - + + - - + + + value='@{String.valueOf(viewModel.dataBean.totalWeight)}' + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> @@ -80,35 +80,35 @@ android:layout_marginTop="10dp" android:orientation="horizontal"> - - - + + - - + + + value='@{String.valueOf(viewModel.dataBean.netWeight)}' + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> @@ -119,35 +119,35 @@ android:layout_marginTop="10dp" android:orientation="horizontal"> - - - + + - - + + + value='@{String.valueOf(viewModel.dataBean.cargoWeight)}' + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> @@ -158,35 +158,35 @@ android:layout_marginTop="10dp" android:orientation="horizontal"> - - - + + - - + + + value='@{String.valueOf(viewModel.dataBean.uldWeight)}' + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> @@ -197,35 +197,35 @@ android:layout_marginTop="10dp" android:orientation="horizontal"> - - - + + - - + + + value='@{String.valueOf(viewModel.dataBean.carWeight)}' + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> @@ -236,25 +236,25 @@ android:layout_marginTop="10dp" android:orientation="horizontal"> - - - + + + value='@{viewModel.dataBean.remark}' + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="2" />