activity_collection.xml 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:id="@+id/layout_home_content"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="#ffff"
  7. android:fitsSystemWindows="true"
  8. android:orientation="vertical"
  9. tools:context="com.dongkesoft.ibossmini.activity.saleslip.CollectionActivity" >
  10. <include
  11. android:id="@+id/ll_title"
  12. layout="@layout/fragment_title" />
  13. <RelativeLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent" >
  16. <ScrollView
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent"
  19. android:layout_above="@+id/bt_preservation" >
  20. <LinearLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:orientation="vertical" >
  24. <TextView
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:layout_marginBottom="5dp"
  28. android:layout_marginLeft="15dp"
  29. android:layout_marginTop="15dp"
  30. android:text="基础信息"
  31. android:textColor="@color/red"
  32. android:textSize="@dimen/textsize_13" />
  33. <LinearLayout
  34. android:layout_width="fill_parent"
  35. android:layout_height="wrap_content"
  36. android:background="@color/white"
  37. android:orientation="vertical" >
  38. <View
  39. android:layout_width="match_parent"
  40. android:layout_height="1dp"
  41. android:background="@color/linegray" />
  42. </LinearLayout>
  43. <RelativeLayout
  44. android:layout_width="match_parent"
  45. android:layout_height="@dimen/ll_layout_height_50" >
  46. <TextView
  47. android:id="@+id/salesCode"
  48. android:layout_width="80dp"
  49. android:layout_height="wrap_content"
  50. android:layout_centerVertical="true"
  51. android:layout_marginLeft="15dp"
  52. android:text="销售单号"
  53. android:textColor="@color/black"
  54. android:textSize="@dimen/textsize_13" />
  55. <LinearLayout
  56. android:id="@+id/salesCodeLin"
  57. android:layout_width="match_parent"
  58. android:layout_height="wrap_content"
  59. android:layout_centerVertical="true"
  60. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  61. android:layout_toRightOf="@id/salesCode"
  62. android:orientation="horizontal" >
  63. <TextView
  64. android:id="@+id/tv_salesCode"
  65. android:layout_width="wrap_content"
  66. android:layout_height="fill_parent"
  67. android:layout_gravity="center_vertical"
  68. android:background="@null"
  69. android:gravity="center_vertical"
  70. android:maxLength="12"
  71. android:numeric="integer"
  72. android:singleLine="true"
  73. android:text="asdasdasdasd"
  74. android:textColor="@color/black"
  75. android:textSize="@dimen/textsize_13" />
  76. </LinearLayout>
  77. <LinearLayout
  78. android:layout_width="fill_parent"
  79. android:layout_height="wrap_content"
  80. android:layout_alignParentBottom="true"
  81. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  82. android:layout_toRightOf="@id/salesCode"
  83. android:background="@color/white"
  84. android:orientation="vertical" >
  85. <View
  86. android:layout_width="match_parent"
  87. android:layout_height="1dp"
  88. android:background="@color/lightgray" />
  89. </LinearLayout>
  90. </RelativeLayout>
  91. <RelativeLayout
  92. android:layout_width="match_parent"
  93. android:layout_height="@dimen/ll_layout_height_50" >
  94. <TextView
  95. android:id="@+id/UserCode"
  96. android:layout_width="80dp"
  97. android:layout_height="wrap_content"
  98. android:layout_centerVertical="true"
  99. android:layout_marginLeft="15dp"
  100. android:text="客户编码"
  101. android:textColor="@color/black"
  102. android:textSize="@dimen/textsize_13" />
  103. <LinearLayout
  104. android:id="@+id/UserCodeLin"
  105. android:layout_width="match_parent"
  106. android:layout_height="wrap_content"
  107. android:layout_centerVertical="true"
  108. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  109. android:layout_toRightOf="@id/UserCode"
  110. android:orientation="horizontal" >
  111. <TextView
  112. android:id="@+id/tv_usercode"
  113. android:layout_width="wrap_content"
  114. android:layout_height="fill_parent"
  115. android:layout_gravity="center_vertical"
  116. android:background="@null"
  117. android:gravity="center_vertical"
  118. android:maxLength="12"
  119. android:numeric="integer"
  120. android:singleLine="true"
  121. android:text="asdasdasdasd"
  122. android:textColor="@color/black"
  123. android:textSize="@dimen/textsize_13" />
  124. </LinearLayout>
  125. <LinearLayout
  126. android:layout_width="fill_parent"
  127. android:layout_height="wrap_content"
  128. android:layout_alignParentBottom="true"
  129. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  130. android:layout_toRightOf="@id/UserCode"
  131. android:background="@color/white"
  132. android:orientation="vertical" >
  133. <View
  134. android:layout_width="match_parent"
  135. android:layout_height="1dp"
  136. android:background="@color/lightgray" />
  137. </LinearLayout>
  138. </RelativeLayout>
  139. <RelativeLayout
  140. android:layout_width="match_parent"
  141. android:layout_height="@dimen/ll_layout_height_50" >
  142. <TextView
  143. android:id="@+id/OrganizationName"
  144. android:layout_width="80dp"
  145. android:layout_height="wrap_content"
  146. android:layout_centerVertical="true"
  147. android:layout_marginLeft="15dp"
  148. android:text="业务部门"
  149. android:textColor="@color/black"
  150. android:textSize="@dimen/textsize_13" />
  151. <LinearLayout
  152. android:id="@+id/OrganizationNameLin"
  153. android:layout_width="match_parent"
  154. android:layout_height="wrap_content"
  155. android:layout_centerVertical="true"
  156. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  157. android:layout_toRightOf="@id/OrganizationName"
  158. android:orientation="horizontal" >
  159. <TextView
  160. android:id="@+id/tv_OrganizationName"
  161. android:layout_width="wrap_content"
  162. android:layout_height="fill_parent"
  163. android:layout_gravity="center_vertical"
  164. android:background="@null"
  165. android:gravity="center_vertical"
  166. android:maxLength="12"
  167. android:numeric="integer"
  168. android:singleLine="true"
  169. android:text="asdasdasdasd"
  170. android:textColor="@color/black"
  171. android:textSize="@dimen/textsize_13" />
  172. </LinearLayout>
  173. <LinearLayout
  174. android:layout_width="fill_parent"
  175. android:layout_height="wrap_content"
  176. android:layout_alignParentBottom="true"
  177. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  178. android:layout_toRightOf="@id/OrganizationName"
  179. android:background="@color/white"
  180. android:orientation="vertical" >
  181. <View
  182. android:layout_width="match_parent"
  183. android:layout_height="1dp"
  184. android:background="@color/lightgray" />
  185. </LinearLayout>
  186. </RelativeLayout>
  187. <RelativeLayout
  188. android:layout_width="match_parent"
  189. android:layout_height="@dimen/ll_layout_height_50" >
  190. <TextView
  191. android:id="@+id/Organizationtype"
  192. android:layout_width="80dp"
  193. android:layout_height="wrap_content"
  194. android:layout_centerVertical="true"
  195. android:layout_marginLeft="15dp"
  196. android:text="业务类型"
  197. android:textColor="@color/black"
  198. android:textSize="@dimen/textsize_13" />
  199. <LinearLayout
  200. android:id="@+id/OrganizationtypeLin"
  201. android:layout_width="match_parent"
  202. android:layout_height="wrap_content"
  203. android:layout_centerVertical="true"
  204. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  205. android:layout_toRightOf="@id/Organizationtype"
  206. android:orientation="horizontal" >
  207. <TextView
  208. android:id="@+id/tv_Organizationtype"
  209. android:layout_width="wrap_content"
  210. android:layout_height="fill_parent"
  211. android:layout_gravity="center_vertical"
  212. android:background="@null"
  213. android:gravity="center_vertical"
  214. android:maxLength="12"
  215. android:numeric="integer"
  216. android:singleLine="true"
  217. android:text="asdasdasdasd"
  218. android:textColor="@color/black"
  219. android:textSize="@dimen/textsize_13" />
  220. </LinearLayout>
  221. <LinearLayout
  222. android:layout_width="fill_parent"
  223. android:layout_height="wrap_content"
  224. android:layout_alignParentBottom="true"
  225. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  226. android:layout_toRightOf="@id/Organizationtype"
  227. android:background="@color/white"
  228. android:orientation="vertical" >
  229. <View
  230. android:layout_width="match_parent"
  231. android:layout_height="1dp"
  232. android:background="@color/lightgray" />
  233. </LinearLayout>
  234. </RelativeLayout>
  235. <RelativeLayout
  236. android:layout_width="match_parent"
  237. android:layout_height="@dimen/ll_layout_height_50" >
  238. <TextView
  239. android:id="@+id/username"
  240. android:layout_width="80dp"
  241. android:layout_height="wrap_content"
  242. android:layout_centerVertical="true"
  243. android:layout_marginLeft="15dp"
  244. android:text="客户名称"
  245. android:textColor="@color/black"
  246. android:textSize="@dimen/textsize_13" />
  247. <LinearLayout
  248. android:id="@+id/usernameLin"
  249. android:layout_width="match_parent"
  250. android:layout_height="wrap_content"
  251. android:layout_centerVertical="true"
  252. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  253. android:layout_toRightOf="@id/username"
  254. android:orientation="horizontal" >
  255. <TextView
  256. android:id="@+id/tx_username"
  257. android:layout_width="wrap_content"
  258. android:layout_height="fill_parent"
  259. android:layout_gravity="center_vertical"
  260. android:background="@null"
  261. android:gravity="center_vertical"
  262. android:maxLength="12"
  263. android:numeric="integer"
  264. android:singleLine="true"
  265. android:text="asdasdasdasd"
  266. android:textColor="@color/black"
  267. android:textSize="@dimen/textsize_13" />
  268. </LinearLayout>
  269. <LinearLayout
  270. android:layout_width="fill_parent"
  271. android:layout_height="wrap_content"
  272. android:layout_alignParentBottom="true"
  273. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  274. android:layout_toRightOf="@id/username"
  275. android:background="@color/white"
  276. android:orientation="vertical" >
  277. <View
  278. android:layout_width="match_parent"
  279. android:layout_height="1dp"
  280. android:background="@color/lightgray" />
  281. </LinearLayout>
  282. </RelativeLayout>
  283. <RelativeLayout
  284. android:layout_width="match_parent"
  285. android:layout_height="@dimen/ll_layout_height_50" >
  286. <TextView
  287. android:id="@+id/StaffName"
  288. android:layout_width="80dp"
  289. android:layout_height="wrap_content"
  290. android:layout_centerVertical="true"
  291. android:layout_marginLeft="15dp"
  292. android:text="业务员"
  293. android:textColor="@color/black"
  294. android:textSize="@dimen/textsize_13" />
  295. <LinearLayout
  296. android:id="@+id/StaffNameLin"
  297. android:layout_width="match_parent"
  298. android:layout_height="wrap_content"
  299. android:layout_centerVertical="true"
  300. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  301. android:layout_toRightOf="@id/StaffName"
  302. android:orientation="horizontal" >
  303. <TextView
  304. android:id="@+id/tv_StaffName"
  305. android:layout_width="wrap_content"
  306. android:layout_height="fill_parent"
  307. android:layout_gravity="center_vertical"
  308. android:background="@null"
  309. android:gravity="center_vertical"
  310. android:maxLength="12"
  311. android:numeric="integer"
  312. android:singleLine="true"
  313. android:text="asdasdasdasd"
  314. android:textColor="@color/black"
  315. android:textSize="@dimen/textsize_13" />
  316. </LinearLayout>
  317. <LinearLayout
  318. android:layout_width="fill_parent"
  319. android:layout_height="wrap_content"
  320. android:layout_alignParentBottom="true"
  321. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  322. android:layout_toRightOf="@id/StaffName"
  323. android:background="@color/white"
  324. android:orientation="vertical" >
  325. <View
  326. android:layout_width="match_parent"
  327. android:layout_height="1dp"
  328. android:background="@color/lightgray" />
  329. </LinearLayout>
  330. </RelativeLayout>
  331. <TextView
  332. android:layout_width="match_parent"
  333. android:layout_height="wrap_content"
  334. android:layout_marginBottom="5dp"
  335. android:layout_marginLeft="15dp"
  336. android:layout_marginTop="15dp"
  337. android:text="金额信息"
  338. android:textColor="@color/red"
  339. android:textSize="@dimen/textsize_13" />
  340. <LinearLayout
  341. android:id="@+id/ll_1"
  342. android:layout_width="fill_parent"
  343. android:layout_height="wrap_content"
  344. android:background="@color/white"
  345. android:orientation="vertical" >
  346. <View
  347. android:layout_width="match_parent"
  348. android:layout_height="1dp"
  349. android:background="@color/linegray" />
  350. </LinearLayout>
  351. <RelativeLayout
  352. android:layout_width="match_parent"
  353. android:layout_height="@dimen/ll_layout_height_50" >
  354. <TextView
  355. android:id="@+id/paynum"
  356. android:layout_width="80dp"
  357. android:layout_height="wrap_content"
  358. android:layout_centerVertical="true"
  359. android:layout_marginLeft="15dp"
  360. android:text="收款金额"
  361. android:textColor="@color/red"
  362. android:textSize="@dimen/textsize_13" />
  363. <LinearLayout
  364. android:id="@+id/paynumLin"
  365. android:layout_width="match_parent"
  366. android:layout_height="wrap_content"
  367. android:layout_centerVertical="true"
  368. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  369. android:layout_toRightOf="@id/paynum"
  370. android:orientation="horizontal" >
  371. <EditText
  372. android:id="@+id/et_paynum"
  373. android:layout_width="wrap_content"
  374. android:layout_height="fill_parent"
  375. android:layout_gravity="center_vertical"
  376. android:background="@null"
  377. android:gravity="center_vertical"
  378. android:hint="请输入收款金额"
  379. android:maxLength="12"
  380. android:numeric="integer"
  381. android:singleLine="true"
  382. android:textColor="@color/black"
  383. android:textSize="@dimen/textsize_13"
  384. android:inputType="number" />
  385. </LinearLayout>
  386. <LinearLayout
  387. android:layout_width="fill_parent"
  388. android:layout_height="wrap_content"
  389. android:layout_alignParentBottom="true"
  390. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  391. android:layout_toRightOf="@id/paynum"
  392. android:background="@color/white"
  393. android:orientation="vertical" >
  394. <View
  395. android:layout_width="match_parent"
  396. android:layout_height="1dp"
  397. android:background="@color/lightgray" />
  398. </LinearLayout>
  399. </RelativeLayout>
  400. <RelativeLayout
  401. android:layout_width="match_parent"
  402. android:layout_height="@dimen/ll_layout_height_50" >
  403. <TextView
  404. android:id="@+id/paytype"
  405. android:layout_width="80dp"
  406. android:layout_height="wrap_content"
  407. android:layout_centerVertical="true"
  408. android:layout_marginLeft="15dp"
  409. android:text="结算方式"
  410. android:textColor="@color/red"
  411. android:textSize="@dimen/textsize_13" />
  412. <RelativeLayout
  413. android:id="@+id/paytypeLin"
  414. android:layout_width="match_parent"
  415. android:layout_height="wrap_content"
  416. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  417. android:layout_toRightOf="@id/paytype"
  418. android:orientation="horizontal" >
  419. <TextView
  420. android:id="@+id/tv_paytype"
  421. android:layout_width="wrap_content"
  422. android:layout_height="wrap_content"
  423. android:layout_centerVertical="true"
  424. android:background="@null"
  425. android:maxLength="100"
  426. android:singleLine="true"
  427. android:text="请选择结算方式"
  428. android:textColor="@color/black"
  429. android:textSize="@dimen/textsize_13" />
  430. <LinearLayout
  431. android:id="@+id/ll_customer_code_right_arrow"
  432. android:layout_width="100dp"
  433. android:layout_height="match_parent"
  434. android:layout_alignParentRight="true"
  435. android:gravity="right|center_vertical"
  436. android:orientation="horizontal" >
  437. <ImageView
  438. android:id="@+id/paytypeIv"
  439. android:layout_width="wrap_content"
  440. android:layout_height="wrap_content"
  441. android:layout_marginRight="15dp"
  442. android:src="@drawable/right" />
  443. </LinearLayout>
  444. </RelativeLayout>
  445. <LinearLayout
  446. android:layout_width="fill_parent"
  447. android:layout_height="wrap_content"
  448. android:layout_alignParentBottom="true"
  449. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  450. android:layout_toRightOf="@id/paytype"
  451. android:background="@color/white"
  452. android:orientation="vertical" >
  453. <View
  454. android:layout_width="match_parent"
  455. android:layout_height="1dp"
  456. android:background="@color/linegray" />
  457. </LinearLayout>
  458. </RelativeLayout>
  459. <RelativeLayout
  460. android:layout_width="match_parent"
  461. android:layout_height="@dimen/ll_layout_height_50" >
  462. <TextView
  463. android:id="@+id/prestoreType"
  464. android:layout_width="80dp"
  465. android:layout_height="wrap_content"
  466. android:layout_centerVertical="true"
  467. android:layout_marginLeft="15dp"
  468. android:text="冲减预存"
  469. android:textColor="@color/black"
  470. android:textSize="@dimen/textsize_13" />
  471. <RelativeLayout
  472. android:id="@+id/prestoreTypeLin"
  473. android:layout_width="match_parent"
  474. android:layout_height="wrap_content"
  475. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  476. android:layout_toRightOf="@id/prestoreType"
  477. android:orientation="horizontal" >
  478. <TextView
  479. android:id="@+id/tv_prestoreType"
  480. android:layout_width="wrap_content"
  481. android:layout_height="wrap_content"
  482. android:layout_centerVertical="true"
  483. android:background="@null"
  484. android:maxLength="100"
  485. android:singleLine="true"
  486. android:text="请选择冲减预存"
  487. android:textColor="@color/black"
  488. android:textSize="@dimen/textsize_13" />
  489. <LinearLayout
  490. android:layout_width="100dp"
  491. android:layout_height="match_parent"
  492. android:layout_alignParentRight="true"
  493. android:gravity="right|center_vertical"
  494. android:orientation="horizontal" >
  495. <ImageView
  496. android:id="@+id/prestoreTypeIv"
  497. android:layout_width="wrap_content"
  498. android:layout_height="wrap_content"
  499. android:layout_marginRight="15dp"
  500. android:src="@drawable/right" />
  501. </LinearLayout>
  502. </RelativeLayout>
  503. <LinearLayout
  504. android:layout_width="fill_parent"
  505. android:layout_height="wrap_content"
  506. android:layout_alignParentBottom="true"
  507. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  508. android:layout_toRightOf="@id/prestoreType"
  509. android:background="@color/white"
  510. android:orientation="vertical" >
  511. <View
  512. android:layout_width="match_parent"
  513. android:layout_height="1dp"
  514. android:background="@color/linegray" />
  515. </LinearLayout>
  516. </RelativeLayout>
  517. <RelativeLayout
  518. android:layout_width="match_parent"
  519. android:layout_height="@dimen/ll_layout_height_50" >
  520. <TextView
  521. android:id="@+id/AmountReceivable"
  522. android:layout_width="80dp"
  523. android:layout_height="wrap_content"
  524. android:layout_centerVertical="true"
  525. android:layout_marginLeft="15dp"
  526. android:text="应收金额"
  527. android:textColor="@color/black"
  528. android:textSize="@dimen/textsize_13" />
  529. <LinearLayout
  530. android:id="@+id/AmountReceivableLin"
  531. android:layout_width="match_parent"
  532. android:layout_height="wrap_content"
  533. android:layout_centerVertical="true"
  534. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  535. android:layout_toRightOf="@id/AmountReceivable"
  536. android:orientation="horizontal" >
  537. <TextView
  538. android:id="@+id/tv_AmountReceivable"
  539. android:layout_width="wrap_content"
  540. android:layout_height="fill_parent"
  541. android:layout_gravity="center_vertical"
  542. android:background="@null"
  543. android:gravity="center_vertical"
  544. android:maxLength="12"
  545. android:numeric="integer"
  546. android:singleLine="true"
  547. android:text="asdasdasdasd"
  548. android:textColor="@color/black"
  549. android:textSize="@dimen/textsize_13" />
  550. </LinearLayout>
  551. <LinearLayout
  552. android:layout_width="fill_parent"
  553. android:layout_height="wrap_content"
  554. android:layout_alignParentBottom="true"
  555. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  556. android:layout_toRightOf="@id/AmountReceivable"
  557. android:background="@color/white"
  558. android:orientation="vertical" >
  559. <View
  560. android:layout_width="match_parent"
  561. android:layout_height="1dp"
  562. android:background="@color/lightgray" />
  563. </LinearLayout>
  564. </RelativeLayout>
  565. <RelativeLayout
  566. android:layout_width="match_parent"
  567. android:layout_height="@dimen/ll_layout_height_50" >
  568. <TextView
  569. android:id="@+id/AmountReceived"
  570. android:layout_width="80dp"
  571. android:layout_height="wrap_content"
  572. android:layout_centerVertical="true"
  573. android:layout_marginLeft="15dp"
  574. android:text="已收金额"
  575. android:textColor="@color/black"
  576. android:textSize="@dimen/textsize_13" />
  577. <LinearLayout
  578. android:id="@+id/AmountReceivedLin"
  579. android:layout_width="match_parent"
  580. android:layout_height="wrap_content"
  581. android:layout_centerVertical="true"
  582. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  583. android:layout_toRightOf="@id/AmountReceived"
  584. android:orientation="horizontal" >
  585. <TextView
  586. android:id="@+id/tv_AmountReceived"
  587. android:layout_width="wrap_content"
  588. android:layout_height="fill_parent"
  589. android:layout_gravity="center_vertical"
  590. android:background="@null"
  591. android:gravity="center_vertical"
  592. android:maxLength="12"
  593. android:numeric="integer"
  594. android:singleLine="true"
  595. android:text="asdasdasdasd"
  596. android:textColor="@color/black"
  597. android:textSize="@dimen/textsize_13" />
  598. </LinearLayout>
  599. <LinearLayout
  600. android:layout_width="fill_parent"
  601. android:layout_height="wrap_content"
  602. android:layout_alignParentBottom="true"
  603. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  604. android:layout_toRightOf="@id/AmountReceived"
  605. android:background="@color/white"
  606. android:orientation="vertical" >
  607. <View
  608. android:layout_width="match_parent"
  609. android:layout_height="1dp"
  610. android:background="@color/lightgray" />
  611. </LinearLayout>
  612. </RelativeLayout>
  613. <RelativeLayout
  614. android:layout_width="match_parent"
  615. android:layout_height="@dimen/ll_layout_height_50" >
  616. <TextView
  617. android:id="@+id/CancellationAmount"
  618. android:layout_width="80dp"
  619. android:layout_height="wrap_content"
  620. android:layout_centerVertical="true"
  621. android:layout_marginLeft="15dp"
  622. android:text="核销金额"
  623. android:textColor="@color/black"
  624. android:textSize="@dimen/textsize_13" />
  625. <LinearLayout
  626. android:id="@+id/CancellationAmountLin"
  627. android:layout_width="match_parent"
  628. android:layout_height="wrap_content"
  629. android:layout_centerVertical="true"
  630. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  631. android:layout_toRightOf="@id/CancellationAmount"
  632. android:orientation="horizontal" >
  633. <TextView
  634. android:id="@+id/tv_CancellationAmount"
  635. android:layout_width="wrap_content"
  636. android:layout_height="fill_parent"
  637. android:layout_gravity="center_vertical"
  638. android:background="@null"
  639. android:gravity="center_vertical"
  640. android:maxLength="12"
  641. android:numeric="integer"
  642. android:singleLine="true"
  643. android:text="asdasdasdasd"
  644. android:textColor="@color/black"
  645. android:textSize="@dimen/textsize_13" />
  646. </LinearLayout>
  647. <LinearLayout
  648. android:layout_width="fill_parent"
  649. android:layout_height="wrap_content"
  650. android:layout_alignParentBottom="true"
  651. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  652. android:layout_toRightOf="@id/CancellationAmount"
  653. android:background="@color/white"
  654. android:orientation="vertical" >
  655. <View
  656. android:layout_width="match_parent"
  657. android:layout_height="1dp"
  658. android:background="@color/lightgray" />
  659. </LinearLayout>
  660. </RelativeLayout>
  661. <RelativeLayout
  662. android:layout_width="match_parent"
  663. android:layout_height="@dimen/ll_layout_height_50" >
  664. <TextView
  665. android:id="@+id/RestReceivable"
  666. android:layout_width="80dp"
  667. android:layout_height="wrap_content"
  668. android:layout_centerVertical="true"
  669. android:layout_marginLeft="15dp"
  670. android:text="剩余应收"
  671. android:textColor="@color/black"
  672. android:textSize="@dimen/textsize_13" />
  673. <LinearLayout
  674. android:id="@+id/RestReceivableLin"
  675. android:layout_width="match_parent"
  676. android:layout_height="wrap_content"
  677. android:layout_centerVertical="true"
  678. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  679. android:layout_toRightOf="@id/RestReceivable"
  680. android:orientation="horizontal" >
  681. <TextView
  682. android:id="@+id/tv_RestReceivable"
  683. android:layout_width="wrap_content"
  684. android:layout_height="fill_parent"
  685. android:layout_gravity="center_vertical"
  686. android:background="@null"
  687. android:gravity="center_vertical"
  688. android:maxLength="12"
  689. android:numeric="integer"
  690. android:singleLine="true"
  691. android:text="asdasdasdasd"
  692. android:textColor="@color/black"
  693. android:textSize="@dimen/textsize_13" />
  694. </LinearLayout>
  695. <LinearLayout
  696. android:layout_width="fill_parent"
  697. android:layout_height="wrap_content"
  698. android:layout_alignParentBottom="true"
  699. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  700. android:layout_toRightOf="@id/RestReceivable"
  701. android:background="@color/white"
  702. android:orientation="vertical" >
  703. <View
  704. android:layout_width="match_parent"
  705. android:layout_height="1dp"
  706. android:background="@color/lightgray" />
  707. </LinearLayout>
  708. </RelativeLayout>
  709. <RelativeLayout
  710. android:layout_width="match_parent"
  711. android:layout_height="@dimen/ll_layout_height_50" >
  712. <TextView
  713. android:id="@+id/AvailableStorage"
  714. android:layout_width="80dp"
  715. android:layout_height="wrap_content"
  716. android:layout_centerVertical="true"
  717. android:layout_marginLeft="15dp"
  718. android:text="可用预存"
  719. android:textColor="@color/black"
  720. android:textSize="@dimen/textsize_13" />
  721. <LinearLayout
  722. android:id="@+id/AvailableStorageLin"
  723. android:layout_width="match_parent"
  724. android:layout_height="wrap_content"
  725. android:layout_centerVertical="true"
  726. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  727. android:layout_toRightOf="@id/AvailableStorage"
  728. android:orientation="horizontal" >
  729. <TextView
  730. android:id="@+id/tv_AvailableStorage"
  731. android:layout_width="wrap_content"
  732. android:layout_height="fill_parent"
  733. android:layout_gravity="center_vertical"
  734. android:background="@null"
  735. android:gravity="center_vertical"
  736. android:maxLength="12"
  737. android:numeric="integer"
  738. android:singleLine="true"
  739. android:text="asdasdasdasd"
  740. android:textColor="@color/black"
  741. android:textSize="@dimen/textsize_13" />
  742. </LinearLayout>
  743. <LinearLayout
  744. android:layout_width="fill_parent"
  745. android:layout_height="wrap_content"
  746. android:layout_alignParentBottom="true"
  747. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  748. android:layout_toRightOf="@id/AvailableStorage"
  749. android:background="@color/white"
  750. android:orientation="vertical" >
  751. <View
  752. android:layout_width="match_parent"
  753. android:layout_height="1dp"
  754. android:background="@color/lightgray" />
  755. </LinearLayout>
  756. </RelativeLayout>
  757. </LinearLayout>
  758. </ScrollView>
  759. <Button
  760. android:id="@+id/bt_preservation"
  761. android:layout_width="match_parent"
  762. android:layout_height="44dp"
  763. android:layout_alignParentBottom="true"
  764. android:layout_gravity="center"
  765. android:background="@drawable/new_log_add_save_button"
  766. android:layout_margin="5dp" />
  767. </RelativeLayout>
  768. </LinearLayout>