fragment_ownermore.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools">
  5. <data>
  6. <variable
  7. name="vm"
  8. type="com.quansu.heifengwuliu.vmodel.OwnerMoreVModel" />
  9. </data>
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:background="@color/white"
  14. android:orientation="vertical">
  15. <LinearLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. android:orientation="vertical">
  19. <com.quansu.heifengwuliu.widget.ShipmentHeadView
  20. android:id="@+id/view_head"
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content">
  23. </com.quansu.heifengwuliu.widget.ShipmentHeadView>
  24. <TextView
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:layout_marginStart="@dimen/dp_10"
  28. android:layout_marginTop="@dimen/dp_10"
  29. android:text="卸货信息"
  30. android:textColor="#101010"
  31. android:textSize="@dimen/sp_16"></TextView>
  32. <LinearLayout
  33. android:id="@+id/ll_operation"
  34. android:layout_width="match_parent"
  35. android:layout_height="42dp"
  36. android:layout_marginTop="10dp"
  37. android:background="@color/white"
  38. android:gravity="center_vertical"
  39. android:orientation="horizontal"
  40. android:paddingLeft="15dp"
  41. android:paddingRight="12dp">
  42. <TextView
  43. android:layout_width="0dp"
  44. android:layout_height="wrap_content"
  45. android:layout_weight="1"
  46. android:text="操作"
  47. android:textColor="#1E1E1E"
  48. android:textSize="16sp">
  49. </TextView>
  50. <ImageView
  51. android:layout_width="22dp"
  52. android:layout_height="22dp"
  53. android:layout_marginLeft="8dp"
  54. android:padding="2dp"
  55. android:src="@drawable/money_add"
  56. android:visibility="visible">
  57. </ImageView>
  58. </LinearLayout>
  59. <RelativeLayout
  60. android:layout_width="match_parent"
  61. android:layout_height="wrap_content">
  62. <androidx.recyclerview.widget.RecyclerView
  63. android:id="@+id/recycler_view"
  64. android:layout_width="match_parent"
  65. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  66. tools:listitem="@layout/item_outcar"
  67. android:nestedScrollingEnabled="false"
  68. android:layout_height="wrap_content">
  69. </androidx.recyclerview.widget.RecyclerView>
  70. </RelativeLayout>
  71. <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
  72. android:layout_width="match_parent"
  73. android:layout_height="wrap_content"
  74. android:layout_marginStart="@dimen/dp_12"
  75. android:layout_marginTop="@dimen/dp_10"
  76. android:layout_marginEnd="@dimen/dp_12"
  77. android:orientation="vertical"
  78. android:paddingStart="@dimen/dp_10"
  79. android:paddingTop="@dimen/dp_10"
  80. android:paddingEnd="@dimen/dp_12"
  81. android:paddingBottom="@dimen/dp_10"
  82. app:qmui_borderColor="#BFBFBF"
  83. app:qmui_borderWidth="@dimen/dp_1"
  84. app:qmui_radius="@dimen/dp_2">
  85. <LinearLayout
  86. android:layout_width="match_parent"
  87. android:layout_height="40dp"
  88. android:gravity="center"
  89. android:orientation="horizontal">
  90. <TextView
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:text="总金额"
  94. android:textColor="#101010"
  95. android:textSize="@dimen/sp_16">
  96. </TextView>
  97. <TextView
  98. android:id="@+id/tv_total_money"
  99. android:layout_width="match_parent"
  100. android:layout_height="wrap_content"
  101. android:layout_marginStart="@dimen/dp_10"
  102. android:gravity="center_vertical|right"
  103. android:textColor="#101010"
  104. android:textColorHint="#BBBBBB"
  105. android:textSize="@dimen/sp_15"></TextView>
  106. </LinearLayout>
  107. </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
  108. <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
  109. android:layout_width="match_parent"
  110. android:layout_height="wrap_content"
  111. android:layout_marginStart="@dimen/dp_12"
  112. android:layout_marginTop="@dimen/dp_10"
  113. android:layout_marginEnd="@dimen/dp_12"
  114. android:orientation="vertical"
  115. android:paddingStart="@dimen/dp_10"
  116. android:paddingTop="@dimen/dp_10"
  117. android:paddingEnd="@dimen/dp_12"
  118. android:paddingBottom="@dimen/dp_10"
  119. app:qmui_borderColor="#BFBFBF"
  120. app:qmui_borderWidth="@dimen/dp_1"
  121. app:qmui_radius="@dimen/dp_2">
  122. <LinearLayout
  123. android:id="@+id/ll_is_insurance"
  124. android:layout_width="match_parent"
  125. android:layout_height="40dp"
  126. android:gravity="center"
  127. android:orientation="horizontal">
  128. <TextView
  129. android:layout_width="wrap_content"
  130. android:layout_height="wrap_content"
  131. android:text="是否购买保险"
  132. android:textColor="#101010"
  133. android:textSize="@dimen/sp_16">
  134. </TextView>
  135. <TextView
  136. android:id="@+id/tv_is_insurance"
  137. android:layout_width="0dp"
  138. android:layout_height="wrap_content"
  139. android:layout_marginStart="@dimen/dp_10"
  140. android:layout_marginEnd="@dimen/dp_10"
  141. android:layout_weight="1"
  142. android:gravity="center_vertical|right"
  143. android:hint="请选择"
  144. android:text="@{vm.insurance}"
  145. android:textColor="#101010"
  146. android:textColorHint="#BBBBBB"
  147. android:textSize="@dimen/sp_15"></TextView>
  148. <ImageView
  149. style="@style/mine_arrow_right"
  150. android:src="@drawable/mine_right" />
  151. </LinearLayout>
  152. <View
  153. android:layout_width="match_parent"
  154. android:layout_height="@dimen/dp_1"
  155. android:background="#C2C2C2" />
  156. <LinearLayout
  157. android:id="@+id/ll_driver"
  158. android:layout_width="match_parent"
  159. android:layout_height="40dp"
  160. android:gravity="center"
  161. android:orientation="horizontal">
  162. <TextView
  163. android:layout_width="wrap_content"
  164. android:layout_height="wrap_content"
  165. android:text="指定常用司机"
  166. android:textColor="#101010"
  167. android:textSize="@dimen/sp_16">
  168. </TextView>
  169. <TextView
  170. android:id="@+id/tv_driver"
  171. android:layout_width="0dp"
  172. android:layout_height="wrap_content"
  173. android:layout_marginStart="@dimen/dp_10"
  174. android:layout_marginEnd="@dimen/dp_10"
  175. android:layout_weight="1"
  176. android:gravity="center_vertical|right"
  177. android:hint="不指定/请选择"
  178. android:textColor="#101010"
  179. android:textColorHint="#BBBBBB"
  180. android:textSize="@dimen/sp_15"></TextView>
  181. <ImageView
  182. style="@style/mine_arrow_right"
  183. android:src="@drawable/mine_right" />
  184. </LinearLayout>
  185. </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
  186. <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
  187. android:layout_width="match_parent"
  188. android:layout_height="wrap_content"
  189. android:layout_marginStart="@dimen/dp_12"
  190. android:layout_marginTop="@dimen/dp_10"
  191. android:layout_marginEnd="@dimen/dp_12"
  192. android:orientation="vertical"
  193. android:paddingStart="@dimen/dp_10"
  194. android:paddingTop="@dimen/dp_10"
  195. android:paddingEnd="@dimen/dp_12"
  196. android:paddingBottom="@dimen/dp_10"
  197. app:qmui_borderColor="#BFBFBF"
  198. app:qmui_borderWidth="@dimen/dp_1"
  199. app:qmui_radius="@dimen/dp_2">
  200. <TextView
  201. android:layout_width="wrap_content"
  202. android:layout_height="wrap_content"
  203. android:layout_marginTop="@dimen/dp_10"
  204. android:text="备注"
  205. android:textColor="#101010"
  206. android:textSize="@dimen/sp_16"></TextView>
  207. <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
  208. android:layout_width="match_parent"
  209. android:layout_height="60dp"
  210. android:padding="@dimen/dp_4"
  211. app:qmui_backgroundColor="#F4EFEF"
  212. app:qmui_borderColor="#F4EFEF"
  213. app:qmui_borderWidth="@dimen/dp_1"
  214. app:qmui_radius="@dimen/dp_2">
  215. <EditText
  216. android:id="@+id/et_data"
  217. android:layout_width="match_parent"
  218. android:layout_height="match_parent"
  219. android:background="@null"
  220. android:hint="请输入备注信息"
  221. android:textColor="#101010"
  222. android:textColorHint="#E9E4E4"
  223. android:textSize="@dimen/sp_15">
  224. </EditText>
  225. </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
  226. </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
  227. <LinearLayout
  228. android:id="@+id/ll_agree"
  229. android:layout_width="match_parent"
  230. android:layout_height="40dp"
  231. android:layout_marginStart="@dimen/dp_12"
  232. android:layout_marginTop="@dimen/dp_10"
  233. android:layout_marginEnd="@dimen/dp_12"
  234. android:gravity="center_vertical"
  235. android:orientation="horizontal">
  236. <ImageView
  237. android:id="@+id/iv_agree"
  238. android:layout_width="20dp"
  239. android:layout_height="20dp"
  240. android:layout_marginEnd="@dimen/dp_10"
  241. android:src="@{vm.isAgree==0?@drawable/ic_chose_off:@drawable/ic_chose_on,default=@drawable/ic_chose_on}"
  242. />
  243. <TextView
  244. android:layout_width="wrap_content"
  245. android:layout_height="wrap_content"
  246. android:text="我已阅读并同意"
  247. android:textColor="#101010"
  248. android:textSize="@dimen/sp_16">
  249. </TextView>
  250. <TextView
  251. android:layout_width="wrap_content"
  252. android:layout_height="wrap_content"
  253. android:text="《平台运输协议》"
  254. android:textColor="#B54943"
  255. android:textSize="@dimen/sp_16">
  256. </TextView>
  257. </LinearLayout>
  258. <LinearLayout
  259. android:id="@+id/ll_public"
  260. android:layout_width="match_parent"
  261. android:layout_height="40dp"
  262. android:layout_marginStart="@dimen/dp_12"
  263. android:layout_marginEnd="@dimen/dp_12"
  264. android:gravity="center_vertical"
  265. android:orientation="horizontal">
  266. <ImageView
  267. android:id="@+id/iv_public"
  268. android:layout_width="20dp"
  269. android:layout_height="20dp"
  270. android:layout_marginEnd="@dimen/dp_10"
  271. android:src="@{vm.isPush==0?@drawable/ic_chose_off:@drawable/ic_chose_on,default=@drawable/ic_chose_on}"
  272. />
  273. <TextView
  274. android:layout_width="wrap_content"
  275. android:layout_height="wrap_content"
  276. android:text="发布到"
  277. android:textColor="#101010"
  278. android:textSize="@dimen/sp_16">
  279. </TextView>
  280. <TextView
  281. android:layout_width="wrap_content"
  282. android:layout_height="wrap_content"
  283. android:text=" 货源大厅"
  284. android:textColor="#B54943"
  285. android:textSize="@dimen/sp_16">
  286. </TextView>
  287. </LinearLayout>
  288. <View
  289. android:layout_width="match_parent"
  290. android:layout_height="@dimen/dp_1"
  291. android:background="#C2C2C2" />
  292. <LinearLayout
  293. android:layout_width="match_parent"
  294. android:layout_height="@dimen/dp_50"
  295. android:gravity="center_vertical"
  296. android:orientation="horizontal">
  297. <LinearLayout
  298. android:layout_width="0dp"
  299. android:layout_height="match_parent"
  300. android:layout_weight="1"
  301. android:gravity="center">
  302. <EditText
  303. android:id="@+id/et_car_nums"
  304. android:layout_width="wrap_content"
  305. android:layout_height="wrap_content"
  306. android:background="@null"
  307. android:gravity="center"
  308. android:hint="请输入所需车辆数目"
  309. android:textColor="#101010"
  310. android:text="1"
  311. android:textColorHint="#BBBBBB"
  312. android:textSize="@dimen/sp_15"></EditText>
  313. <ImageView
  314. android:layout_width="20dp"
  315. android:layout_height="20dp"
  316. android:layout_marginStart="@dimen/dp_5"
  317. android:layout_marginEnd="@dimen/dp_10"
  318. android:src="@drawable/need_numbers" />
  319. </LinearLayout>
  320. <TextView
  321. android:id="@+id/tv_publish"
  322. android:layout_width="150dp"
  323. android:layout_height="match_parent"
  324. android:background="#5D76F4"
  325. android:gravity="center"
  326. android:text="发布货源信息"
  327. android:textColor="@color/white"
  328. android:textSize="@dimen/sp_16">
  329. </TextView>
  330. </LinearLayout>
  331. </LinearLayout>
  332. </LinearLayout>
  333. </layout>