customer_current_balance_item.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:background="#fff"
  6. android:orientation="vertical" >
  7. <View
  8. android:layout_width="match_parent"
  9. android:layout_height="@dimen/view_layout_height_10"
  10. android:background="#1000" />
  11. <RelativeLayout
  12. android:id="@+id/rl_customer"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content" >
  15. <TextView
  16. android:id="@+id/tv_customer_name"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:layout_gravity="center_vertical"
  20. android:layout_marginBottom="10dp"
  21. android:layout_marginLeft="@dimen/tv_layout_marginLeft_15"
  22. android:layout_marginTop="10dp"
  23. android:text="客户名称:"
  24. android:textColor="#000"
  25. android:textSize="@dimen/textsize_13" />
  26. </RelativeLayout>
  27. <View
  28. android:layout_width="match_parent"
  29. android:layout_height="@dimen/view_layout_height_1"
  30. android:background="@color/EBEBEB" />
  31. <LinearLayout
  32. android:id="@+id/ll_branch"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:orientation="vertical" >
  36. <LinearLayout
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:orientation="horizontal" >
  40. <LinearLayout
  41. android:layout_width="0dp"
  42. android:layout_height="wrap_content"
  43. android:layout_marginBottom="10dp"
  44. android:layout_marginTop="10dp"
  45. android:layout_weight="2"
  46. android:orientation="horizontal" >
  47. <TextView
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:layout_gravity="center_vertical"
  51. android:layout_marginLeft="@dimen/tv_layout_marginLeft_15"
  52. android:text="部门:"
  53. android:textColor="@color/darkgray"
  54. android:textSize="@dimen/textsize_13" />
  55. <TextView
  56. android:id="@+id/tv_branch"
  57. android:layout_width="wrap_content"
  58. android:layout_height="wrap_content"
  59. android:layout_gravity="center_vertical"
  60. android:layout_marginLeft="8dp"
  61. android:textColor="#000"
  62. android:textSize="@dimen/textsize_13" />
  63. </LinearLayout>
  64. <LinearLayout
  65. android:layout_width="0dp"
  66. android:layout_height="wrap_content"
  67. android:layout_marginBottom="10dp"
  68. android:layout_marginTop="10dp"
  69. android:layout_weight="1"
  70. android:orientation="horizontal" >
  71. <TextView
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:layout_gravity="center_vertical"
  75. android:text="业务员:"
  76. android:textColor="@color/darkgray"
  77. android:textSize="@dimen/textsize_13" />
  78. <TextView
  79. android:id="@+id/tv_salesman"
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:layout_gravity="center_vertical"
  83. android:layout_marginLeft="8dp"
  84. android:singleLine="true"
  85. android:text=" "
  86. android:textColor="#000"
  87. android:textSize="@dimen/textsize_13" />
  88. </LinearLayout>
  89. </LinearLayout>
  90. <View
  91. android:layout_width="match_parent"
  92. android:layout_height="@dimen/view_layout_height_1"
  93. android:layout_marginLeft="@dimen/view_layout_marginLeft_15"
  94. android:background="@color/EBEBEB" />
  95. </LinearLayout>
  96. <LinearLayout
  97. android:layout_width="match_parent"
  98. android:layout_height="wrap_content"
  99. android:layout_marginBottom="@dimen/rl_layout_marginBottom_10"
  100. android:layout_marginTop="@dimen/rl_layout_marginBottom_10"
  101. android:orientation="horizontal" >
  102. <LinearLayout
  103. android:id="@+id/ll_handsel"
  104. android:layout_width="0dp"
  105. android:layout_height="wrap_content"
  106. android:layout_weight="1"
  107. android:orientation="horizontal" >
  108. <TextView
  109. android:layout_width="wrap_content"
  110. android:layout_height="wrap_content"
  111. android:layout_gravity="center_vertical"
  112. android:layout_marginLeft="@dimen/tv_layout_marginLeft_15"
  113. android:layout_marginRight="@dimen/tv_layout_marginRight_2"
  114. android:text="定金:"
  115. android:textColor="@color/black"
  116. android:textSize="@dimen/textsize_13" />
  117. <TextView
  118. android:layout_width="wrap_content"
  119. android:layout_height="wrap_content"
  120. android:layout_gravity="center_vertical"
  121. android:layout_marginLeft="8dp"
  122. android:layout_marginTop="@dimen/tv_top"
  123. android:gravity="center_vertical"
  124. android:text="¥"
  125. android:textColor="@color/black"
  126. android:textSize="@dimen/textsize_13" />
  127. <TextView
  128. android:id="@+id/tv_handsel"
  129. android:layout_width="wrap_content"
  130. android:layout_height="wrap_content"
  131. android:layout_gravity="center_vertical"
  132. android:gravity="center_vertical"
  133. android:singleLine="true"
  134. android:textColor="@color/black"
  135. android:textSize="@dimen/textsize_13" />
  136. </LinearLayout>
  137. <LinearLayout
  138. android:id="@+id/ll_account_receivable"
  139. android:layout_width="0dp"
  140. android:layout_height="wrap_content"
  141. android:layout_weight="1"
  142. android:orientation="horizontal" >
  143. <TextView
  144. android:layout_width="wrap_content"
  145. android:layout_height="wrap_content"
  146. android:layout_gravity="center_vertical"
  147. android:layout_marginRight="@dimen/tv_layout_marginRight_2"
  148. android:text="应收款:"
  149. android:textColor="@color/black"
  150. android:textSize="@dimen/textsize_13" />
  151. <TextView
  152. android:layout_width="wrap_content"
  153. android:layout_height="wrap_content"
  154. android:layout_gravity="center_vertical"
  155. android:layout_marginLeft="8dp"
  156. android:layout_marginTop="@dimen/tv_top"
  157. android:gravity="center_vertical"
  158. android:text="¥"
  159. android:textColor="@color/black"
  160. android:textSize="@dimen/textsize_13" />
  161. <TextView
  162. android:id="@+id/tv_account_receivable"
  163. android:layout_width="wrap_content"
  164. android:layout_height="wrap_content"
  165. android:layout_gravity="center_vertical"
  166. android:gravity="center_vertical"
  167. android:singleLine="true"
  168. android:text=" 111"
  169. android:textColor="@color/black"
  170. android:textSize="@dimen/textsize_13" />
  171. </LinearLayout>
  172. <LinearLayout
  173. android:id="@+id/ll_advances_received"
  174. android:layout_width="0dp"
  175. android:layout_height="wrap_content"
  176. android:layout_alignParentRight="true"
  177. android:layout_weight="1"
  178. android:orientation="horizontal" >
  179. <TextView
  180. android:layout_width="wrap_content"
  181. android:layout_height="wrap_content"
  182. android:layout_gravity="center_vertical"
  183. android:layout_marginRight="@dimen/tv_layout_marginRight_2"
  184. android:text="预收款:"
  185. android:textColor="@color/black"
  186. android:textSize="@dimen/textsize_13" />
  187. <TextView
  188. android:layout_width="wrap_content"
  189. android:layout_height="wrap_content"
  190. android:layout_gravity="center_vertical"
  191. android:layout_marginLeft="8dp"
  192. android:layout_marginTop="@dimen/tv_top"
  193. android:gravity="center_vertical"
  194. android:text="¥"
  195. android:textColor="@color/black"
  196. android:textSize="@dimen/textsize_13" />
  197. <TextView
  198. android:id="@+id/tv_advances_received"
  199. android:layout_width="wrap_content"
  200. android:layout_height="wrap_content"
  201. android:layout_gravity="center_vertical"
  202. android:layout_marginRight="@dimen/tv_layout_marginRight_2"
  203. android:gravity="center_vertical"
  204. android:singleLine="true"
  205. android:text=" 111"
  206. android:textColor="@color/black"
  207. android:textSize="@dimen/textsize_13" />
  208. </LinearLayout>
  209. </LinearLayout>
  210. <View
  211. android:layout_width="match_parent"
  212. android:layout_height="@dimen/view_layout_height_1"
  213. android:layout_marginLeft="@dimen/view_layout_marginLeft_15"
  214. android:background="@color/EBEBEB" />
  215. <LinearLayout
  216. android:layout_width="wrap_content"
  217. android:layout_height="wrap_content"
  218. android:layout_marginBottom="10dp"
  219. android:layout_marginTop="10dp"
  220. android:orientation="horizontal" >
  221. <TextView
  222. android:id="@+id/tv_total_name"
  223. android:layout_width="wrap_content"
  224. android:layout_height="wrap_content"
  225. android:layout_gravity="center_vertical"
  226. android:layout_marginLeft="@dimen/tv_layout_marginLeft_15"
  227. android:layout_marginRight="@dimen/tv_layout_marginRight_2"
  228. android:text="应收款-预收款-定金:"
  229. android:textColor="@color/black"
  230. android:textSize="@dimen/textsize_13" />
  231. <TextView
  232. android:layout_width="wrap_content"
  233. android:layout_height="wrap_content"
  234. android:layout_gravity="center_vertical"
  235. android:layout_marginLeft="8dp"
  236. android:layout_marginTop="@dimen/tv_top"
  237. android:gravity="center_vertical"
  238. android:text="¥"
  239. android:textColor="@color/black"
  240. android:textSize="@dimen/textsize_13" />
  241. <TextView
  242. android:id="@+id/tv_total"
  243. android:layout_width="wrap_content"
  244. android:layout_height="wrap_content"
  245. android:layout_gravity="center_vertical"
  246. android:layout_marginRight="@dimen/tv_layout_marginRight_2"
  247. android:textColor="@color/black"
  248. android:textSize="@dimen/textsize_13" />
  249. </LinearLayout>
  250. </LinearLayout>