|
@@ -4,6 +4,7 @@
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
|
<data>
|
|
|
+
|
|
|
<import type="android.view.View" />
|
|
|
|
|
|
<variable
|
|
@@ -12,457 +13,453 @@
|
|
|
|
|
|
</data>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/color_bg"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
|
|
|
+ <ScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:scrollbars="none">
|
|
|
|
|
|
- <ScrollView
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:scrollbars="none">
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <com.quansu.heifengwuliu.widget.ShipmentHeadView
|
|
|
+ android:id="@+id/view_head"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/ll"
|
|
|
+ android:id="@+id/ll_operation"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:layout_marginEnd="11dp"
|
|
|
+ android:layout_marginBottom="4dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="卸货信息"
|
|
|
+ android:textColor="#545556"
|
|
|
+ android:textSize="@dimen/sp_15" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="22dp"
|
|
|
+ android:layout_height="22dp"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:padding="2dp"
|
|
|
+ android:src="@drawable/money_add"
|
|
|
+ android:visibility="visible">
|
|
|
+
|
|
|
+ </ImageView>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
- <com.quansu.heifengwuliu.widget.ShipmentHeadView
|
|
|
- android:id="@+id/view_head"
|
|
|
+
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content" />
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:nestedScrollingEnabled="false"
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
+ tools:listitem="@layout/item_outcar"
|
|
|
+ tools:visibility="gone" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="7dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="8dp"
|
|
|
+ android:paddingTop="14dp"
|
|
|
+ android:paddingEnd="19dp"
|
|
|
+ android:paddingBottom="14dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/ll_operation"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:layout_marginTop="15dp"
|
|
|
- android:layout_marginEnd="11dp"
|
|
|
- android:layout_marginBottom="4dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="总金额"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_16">
|
|
|
+
|
|
|
+ </TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_total_money"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:gravity="center_vertical|right"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#979899"
|
|
|
+ android:textSize="@dimen/sp_13"></TextView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="7dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_is_insurance"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:gravity="center"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="是否购买保险"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_16">
|
|
|
+
|
|
|
+ </TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_is_insurance"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
android:layout_weight="1"
|
|
|
- android:text="卸货信息"
|
|
|
- android:textColor="#545556"
|
|
|
- android:textSize="@dimen/sp_15" />
|
|
|
+ android:gravity="center_vertical|right"
|
|
|
+ android:hint="请选择"
|
|
|
+ android:text="@{vm.insurance}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#979899"
|
|
|
+ android:textSize="@dimen/sp_13"></TextView>
|
|
|
+
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_width="22dp"
|
|
|
- android:layout_height="22dp"
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
- android:padding="2dp"
|
|
|
- android:src="@drawable/money_add"
|
|
|
- android:visibility="visible">
|
|
|
+ style="@style/mine_arrow_right"
|
|
|
+ android:src="@drawable/mine_right" />
|
|
|
|
|
|
- </ImageView>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_1"
|
|
|
+ android:background="#DEDFE0" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_driver"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="指定常用司机"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_16">
|
|
|
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/recycler_view"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ </TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_driver"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:nestedScrollingEnabled="false"
|
|
|
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
- tools:listitem="@layout/item_outcar"
|
|
|
- tools:visibility="gone" />
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center_vertical|right"
|
|
|
+ android:hint="不指定/请选择"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#979899"
|
|
|
+ android:textSize="@dimen/sp_13"></TextView>
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:layout_marginEnd="7dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="8dp"
|
|
|
- android:paddingTop="14dp"
|
|
|
- android:paddingEnd="19dp"
|
|
|
- android:paddingBottom="14dp"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_borderColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <ImageView
|
|
|
+ style="@style/mine_arrow_right"
|
|
|
+ android:src="@drawable/mine_right" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="总金额"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_16">
|
|
|
|
|
|
- </TextView>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_total_money"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:gravity="center_vertical|right"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textColorHint="#979899"
|
|
|
- android:textSize="@dimen/sp_13"></TextView>
|
|
|
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="7dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="8dp"
|
|
|
+ android:paddingTop="14dp"
|
|
|
+ android:paddingEnd="10dp"
|
|
|
+ android:paddingBottom="21dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="备注"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_16"></TextView>
|
|
|
|
|
|
|
|
|
<com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:layout_marginEnd="7dp"
|
|
|
- android:orientation="vertical"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_borderColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_is_insurance"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="是否购买保险"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_16">
|
|
|
-
|
|
|
- </TextView>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_is_insurance"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center_vertical|right"
|
|
|
- android:hint="请选择"
|
|
|
- android:text="@{vm.insurance}"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textColorHint="#979899"
|
|
|
- android:textSize="@dimen/sp_13"></TextView>
|
|
|
-
|
|
|
-
|
|
|
- <ImageView
|
|
|
- style="@style/mine_arrow_right"
|
|
|
- android:src="@drawable/mine_right" />
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <View
|
|
|
+ android:layout_height="109dp"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ android:paddingStart="10dp"
|
|
|
+ android:paddingTop="12dp"
|
|
|
+ android:paddingEnd="10dp"
|
|
|
+ android:paddingBottom="12dp"
|
|
|
+ app:qmui_backgroundColor="#F5F5F5"
|
|
|
+ app:qmui_borderColor="#F5F5F5"
|
|
|
+ app:qmui_borderWidth="@dimen/dp_1"
|
|
|
+ app:qmui_radius="@dimen/dp_2">
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et_data"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/dp_1"
|
|
|
- android:background="#DEDFE0" />
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="top"
|
|
|
+ android:hint="请输入备注信息"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#979899"
|
|
|
+ android:textSize="@dimen/sp_13">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_driver"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
+ </EditText>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="指定常用司机"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_16">
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- </TextView>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_driver"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center_vertical|right"
|
|
|
- android:hint="不指定/请选择"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textColorHint="#979899"
|
|
|
- android:textSize="@dimen/sp_13"></TextView>
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_agree"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_agree"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginEnd="6dp"
|
|
|
+ android:src="@{vm.isAgree==0?@drawable/ic_chose_off:@drawable/ic_chose_on,default=@drawable/ic_chose_on}" />
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/mine_arrow_right"
|
|
|
- android:src="@drawable/mine_right" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="我已阅读并同意"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="@dimen/sp_13">
|
|
|
|
|
|
+ </TextView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:onClick="@{v->vm.goDetails()}"
|
|
|
+ android:text="《平台运输协议》"
|
|
|
+ android:textColor="#F6C651"
|
|
|
+ android:textSize="@dimen/sp_16">
|
|
|
|
|
|
+ </TextView>
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_public"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:layout_marginEnd="7dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="8dp"
|
|
|
- android:paddingTop="14dp"
|
|
|
- android:paddingEnd="10dp"
|
|
|
- android:paddingBottom="21dp"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_borderColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_public"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginEnd="6dp"
|
|
|
+ android:src="@{vm.isPush==0?@drawable/ic_chose_off:@drawable/ic_chose_on,default=@drawable/ic_chose_on}" />
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="备注"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_16"></TextView>
|
|
|
+ android:text="发布到"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="@dimen/sp_13">
|
|
|
|
|
|
+ </TextView>
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="109dp"
|
|
|
- android:layout_marginTop="14dp"
|
|
|
- android:paddingStart="10dp"
|
|
|
- android:paddingTop="12dp"
|
|
|
- android:paddingEnd="10dp"
|
|
|
- android:paddingBottom="12dp"
|
|
|
- app:qmui_backgroundColor="#F5F5F5"
|
|
|
- app:qmui_borderColor="#F5F5F5"
|
|
|
- app:qmui_borderWidth="@dimen/dp_1"
|
|
|
- app:qmui_radius="@dimen/dp_2">
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/et_data"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="@null"
|
|
|
- android:gravity="top"
|
|
|
- android:hint="请输入备注信息"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textColorHint="#979899"
|
|
|
- android:textSize="@dimen/sp_13">
|
|
|
-
|
|
|
- </EditText>
|
|
|
-
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_agree"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_agree"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_marginEnd="6dp"
|
|
|
- android:src="@{vm.isAgree==0?@drawable/ic_chose_off:@drawable/ic_chose_on,default=@drawable/ic_chose_on}" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="我已阅读并同意"
|
|
|
- android:textColor="#979899"
|
|
|
- android:textSize="@dimen/sp_13">
|
|
|
-
|
|
|
- </TextView>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:onClick="@{v->vm.goDetails()}"
|
|
|
- android:text="《平台运输协议》"
|
|
|
- android:textColor="#F6C651"
|
|
|
- android:textSize="@dimen/sp_16">
|
|
|
-
|
|
|
- </TextView>
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_public"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_public"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_marginEnd="6dp"
|
|
|
- android:src="@{vm.isPush==0?@drawable/ic_chose_off:@drawable/ic_chose_on,default=@drawable/ic_chose_on}" />
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="发布到"
|
|
|
- android:textColor="#979899"
|
|
|
- android:textSize="@dimen/sp_13">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text=" 货源大厅"
|
|
|
+ android:textColor="#F6C651"
|
|
|
+ android:textSize="@dimen/sp_13">
|
|
|
|
|
|
- </TextView>
|
|
|
+ </TextView>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text=" 货源大厅"
|
|
|
- android:textColor="#F6C651"
|
|
|
- android:textSize="@dimen/sp_13">
|
|
|
|
|
|
- </TextView>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="130dp" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="130dp" />
|
|
|
+ </ScrollView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- </ScrollView>
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_publish"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="bottom"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:layout_marginEnd="@dimen/dp_16">
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:id="@+id/fl_publish"
|
|
|
+ <ImageView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="bottom"
|
|
|
- android:layout_marginStart="16dp"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
- android:layout_marginEnd="@dimen/dp_16">
|
|
|
+ android:layout_height="106dp"
|
|
|
+ android:src="@drawable/ic_details_grab" />
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="106dp"
|
|
|
- android:src="@drawable/ic_details_grab" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:text="发布货源信息"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:text="发布货源信息"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="16sp">
|
|
|
+ </TextView>
|
|
|
|
|
|
- </TextView>
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
- </FrameLayout>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginTop="44dp"
|
|
|
+ android:background="#80000000"
|
|
|
+ android:onClick="@{v->vm.interceptClick()}"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:visibility="@{vm.isDialogShow?View.VISIBLE:View.GONE}"
|
|
|
+ tools:visibility="gone">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginTop="44dp"
|
|
|
- android:background="#80000000"
|
|
|
- android:onClick="@{v->vm.interceptClick()}"
|
|
|
- android:orientation="vertical"
|
|
|
- android:visibility="@{vm.isDialogShow?View.VISIBLE:View.GONE}"
|
|
|
- tools:visibility="gone">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@color/white"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_title"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:layout_weight="1"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:text="全部类型"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="17sp" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_title"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginStart="32dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:text="全部类型"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="17sp" />
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
+ android:onClick="@{v->vm.toClose()}"
|
|
|
+ android:padding="2dp"
|
|
|
+ android:src="@drawable/ic_close" />
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_marginEnd="12dp"
|
|
|
- android:onClick="@{v->vm.toClose()}"
|
|
|
- android:padding="2dp"
|
|
|
- android:src="@drawable/ic_close" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="10dp">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view_car"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginBottom="10dp">
|
|
|
-
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/recycler_view_car"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
|
- app:spanCount="3"
|
|
|
- tools:listitem="@layout/item_type" />
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
|
+ app:spanCount="3"
|
|
|
+ tools:listitem="@layout/item_type" />
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
- </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </FrameLayout>
|
|
|
- </LinearLayout>
|
|
|
+ </FrameLayout>
|
|
|
</layout>
|