|
|
@@ -74,7 +74,7 @@
|
|
|
android:id="@+id/ll_stock_type"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/ll_product_name"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/ll_product_code"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:background="@color/white"
|
|
|
@@ -91,7 +91,7 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:id="@+id/tv_automatic"
|
|
|
- android:layout_weight="1"
|
|
|
+ android:layout_weight="1.3"
|
|
|
android:paddingStart="5dp"
|
|
|
android:textSize="18dp"
|
|
|
/>
|
|
|
@@ -115,8 +115,8 @@
|
|
|
</LinearLayout>
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_product_code"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/ll_stock_type"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/tv_qty_tips"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/ll_product_name"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
@@ -137,32 +137,60 @@
|
|
|
android:textSize="18dp"
|
|
|
/>
|
|
|
</LinearLayout>
|
|
|
- <TextView
|
|
|
- android:layout_width="50dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/ll_stock_type"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/tv_qty"
|
|
|
- android:id="@+id/tv_qty_tips"
|
|
|
- android:hint="0"
|
|
|
- android:gravity="center"
|
|
|
- android:textSize="18dp"
|
|
|
- android:paddingBottom="5dp"
|
|
|
- android:text="数量:"
|
|
|
- android:background="@color/white"
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:minWidth="50dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_other_num"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/ll_stock_type"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- android:id="@+id/tv_qty"
|
|
|
- android:hint="0"
|
|
|
- android:gravity="center"
|
|
|
- android:textSize="18dp"
|
|
|
- android:paddingBottom="5dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:background="@color/white"
|
|
|
- />
|
|
|
+ android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingTop="5dp"
|
|
|
+ android:paddingStart="5dp"
|
|
|
+ android:id="@+id/tv_other_num_tips"
|
|
|
+ android:textSize="18dp"
|
|
|
+ android:text="剩余:"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:id="@+id/tv_other_num"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="0"
|
|
|
+ android:textSize="18dp"
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/ll_product_code"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_qty"
|
|
|
+ android:id="@+id/tv_qty_tips"
|
|
|
+ android:hint="0"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textSize="18dp"
|
|
|
+ android:paddingBottom="5dp"
|
|
|
+ android:text="数量:"
|
|
|
+ android:background="@color/white"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:minWidth="50dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:id="@+id/tv_qty"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:hint="0"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textSize="18dp"
|
|
|
+ android:paddingBottom="5dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
<ImageView
|
|
|
android:layout_width="50dp"
|
|
|
android:layout_height="50dp"
|