activity_submit_order_search.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/white"
  7. android:fitsSystemWindows="true"
  8. android:orientation="vertical" >
  9. <include
  10. android:id="@+id/titlebar"
  11. layout="@layout/fragment_title" />
  12. <ScrollView
  13. android:layout_width="match_parent"
  14. android:layout_height="0dp"
  15. android:layout_weight="1" >
  16. <FrameLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent" >
  19. <LinearLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:orientation="vertical" >
  23. <LinearLayout
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:background="@color/white"
  27. android:orientation="vertical" >
  28. <RelativeLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="@dimen/ll_layout_height_50" >
  31. <TextView
  32. android:id="@+id/customerCodeTitle"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:layout_centerVertical="true"
  36. android:layout_marginLeft="15dp"
  37. android:text="客户编码"
  38. android:textColor="@color/black"
  39. android:textSize="@dimen/textsize_14" />
  40. <EditText
  41. android:id="@+id/searchcustomercode"
  42. android:layout_width="match_parent"
  43. android:layout_height="wrap_content"
  44. android:layout_centerVertical="true"
  45. android:layout_marginLeft="@dimen/et_layout_marginLeft_30"
  46. android:layout_toRightOf="@id/customerCodeTitle"
  47. android:background="@null"
  48. android:hint="客户编码与客户名称不能同时为空"
  49. android:singleLine="true"
  50. android:text=""
  51. android:textColor="@color/black"
  52. android:textSize="@dimen/textsize_14" />
  53. <LinearLayout
  54. android:layout_width="fill_parent"
  55. android:layout_height="wrap_content"
  56. android:layout_alignParentBottom="true"
  57. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  58. android:layout_toRightOf="@id/customerCodeTitle"
  59. android:background="@color/white"
  60. android:orientation="vertical" >
  61. <View
  62. android:layout_width="match_parent"
  63. android:layout_height="1dp"
  64. android:background="@color/EBEBEB" />
  65. </LinearLayout>
  66. </RelativeLayout>
  67. <RelativeLayout
  68. android:layout_width="match_parent"
  69. android:layout_height="@dimen/ll_layout_height_50" >
  70. <TextView
  71. android:id="@+id/customerNameTitle"
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:layout_centerVertical="true"
  75. android:layout_marginLeft="15dp"
  76. android:text="客户姓名"
  77. android:textColor="@color/black"
  78. android:textSize="@dimen/textsize_14" />
  79. <EditText
  80. android:id="@+id/etCustomerName"
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:layout_centerVertical="true"
  84. android:layout_marginLeft="@dimen/et_layout_marginLeft_30"
  85. android:layout_toRightOf="@id/customerNameTitle"
  86. android:background="@null"
  87. android:hint="客户编码与客户名称不能同时为空"
  88. android:singleLine="true"
  89. android:text=""
  90. android:textColor="@color/black"
  91. android:textSize="@dimen/textsize_14" />
  92. <LinearLayout
  93. android:layout_width="fill_parent"
  94. android:layout_height="wrap_content"
  95. android:layout_alignParentBottom="true"
  96. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  97. android:layout_toRightOf="@id/customerNameTitle"
  98. android:background="@color/white"
  99. android:orientation="vertical" >
  100. <View
  101. android:layout_width="match_parent"
  102. android:layout_height="1dp"
  103. android:background="@color/EBEBEB" />
  104. </LinearLayout>
  105. </RelativeLayout>
  106. <RelativeLayout
  107. android:layout_width="match_parent"
  108. android:layout_height="@dimen/ll_layout_height_50" >
  109. <TextView
  110. android:id="@+id/channelTitle"
  111. android:layout_width="wrap_content"
  112. android:layout_height="wrap_content"
  113. android:layout_centerVertical="true"
  114. android:layout_marginLeft="15dp"
  115. android:text="渠 道"
  116. android:textColor="@color/black"
  117. android:textSize="@dimen/textsize_14" />
  118. <LinearLayout
  119. android:id="@+id/channelLin"
  120. android:layout_width="match_parent"
  121. android:layout_height="wrap_content"
  122. android:layout_centerVertical="true"
  123. android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
  124. android:layout_toRightOf="@id/channelTitle"
  125. android:orientation="horizontal" >
  126. <TextView
  127. android:id="@+id/tvChannel"
  128. android:layout_width="180dp"
  129. android:layout_height="wrap_content"
  130. android:layout_marginLeft="@dimen/et_layout_marginLeft_3"
  131. android:hint="请选择渠道"
  132. android:text=""
  133. android:textColor="@color/black"
  134. android:textSize="@dimen/textsize_14" />
  135. <LinearLayout
  136. android:layout_width="match_parent"
  137. android:layout_height="match_parent"
  138. android:gravity="right"
  139. android:orientation="horizontal" >
  140. <ImageView
  141. android:id="@+id/channelIv"
  142. android:layout_width="wrap_content"
  143. android:layout_height="wrap_content"
  144. android:layout_gravity="center_vertical"
  145. android:layout_marginRight="15dp"
  146. android:src="@drawable/right" />
  147. </LinearLayout>
  148. </LinearLayout>
  149. <LinearLayout
  150. android:layout_width="fill_parent"
  151. android:layout_height="wrap_content"
  152. android:layout_alignParentBottom="true"
  153. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  154. android:layout_toRightOf="@id/channelTitle"
  155. android:background="@color/white"
  156. android:orientation="vertical" >
  157. <View
  158. android:layout_width="match_parent"
  159. android:layout_height="1dp"
  160. android:background="@color/EBEBEB" />
  161. </LinearLayout>
  162. </RelativeLayout>
  163. <RelativeLayout
  164. android:layout_width="match_parent"
  165. android:layout_height="@dimen/ll_layout_height_50" >
  166. <TextView
  167. android:id="@+id/customerTypeTitle"
  168. android:layout_width="wrap_content"
  169. android:layout_height="wrap_content"
  170. android:layout_centerVertical="true"
  171. android:layout_marginLeft="15dp"
  172. android:text="客户性质"
  173. android:textColor="@color/black"
  174. android:textSize="@dimen/textsize_14" />
  175. <LinearLayout
  176. android:id="@+id/customerTypeLin"
  177. android:layout_width="match_parent"
  178. android:layout_height="wrap_content"
  179. android:layout_centerVertical="true"
  180. android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
  181. android:layout_toRightOf="@id/customerTypeTitle"
  182. android:orientation="horizontal" >
  183. <TextView
  184. android:id="@+id/CustomerType"
  185. android:layout_width="180dp"
  186. android:layout_height="wrap_content"
  187. android:hint="请输入客户性质"
  188. android:text=""
  189. android:textColor="@color/black"
  190. android:textSize="@dimen/textsize_14" />
  191. <LinearLayout
  192. android:layout_width="match_parent"
  193. android:layout_height="match_parent"
  194. android:gravity="right"
  195. android:orientation="horizontal" >
  196. <ImageView
  197. android:id="@+id/customerTypeIv"
  198. android:layout_width="wrap_content"
  199. android:layout_height="wrap_content"
  200. android:layout_gravity="center_vertical"
  201. android:layout_marginRight="15dp"
  202. android:src="@drawable/right" />
  203. </LinearLayout>
  204. </LinearLayout>
  205. <LinearLayout
  206. android:layout_width="fill_parent"
  207. android:layout_height="wrap_content"
  208. android:layout_alignParentBottom="true"
  209. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  210. android:layout_toRightOf="@id/customerTypeTitle"
  211. android:background="@color/white"
  212. android:orientation="vertical" >
  213. <View
  214. android:layout_width="match_parent"
  215. android:layout_height="1dp"
  216. android:background="@color/EBEBEB" />
  217. </LinearLayout>
  218. </RelativeLayout>
  219. </LinearLayout>
  220. <!-- 4--listview -->
  221. <LinearLayout
  222. android:layout_width="match_parent"
  223. android:layout_height="0dp"
  224. android:layout_marginTop="20dp"
  225. android:layout_weight="1"
  226. android:background="@color/white"
  227. android:orientation="vertical" >
  228. <!-- <com.dongke.views.NoScrollListView -->
  229. <!-- android:id="@+id/searchlist" -->
  230. <!-- android:layout_width="wrap_content" -->
  231. <!-- android:layout_height="wrap_content" -->
  232. <!-- &gt; -->
  233. <!-- </com.dongke.views.NoScrollListView> -->
  234. <View
  235. android:layout_width="match_parent"
  236. android:layout_height="@dimen/view_layout_height_1"
  237. android:background="@color/EBEBEB" />
  238. <com.dongkesoft.ibossmini.viewscroll.NoScrollListView
  239. android:id="@+id/searchlist"
  240. android:layout_width="match_parent"
  241. android:layout_height="wrap_content"
  242. android:divider="@color/lightgray" >
  243. </com.dongkesoft.ibossmini.viewscroll.NoScrollListView>
  244. </LinearLayout>
  245. </LinearLayout>
  246. </FrameLayout>
  247. </ScrollView>
  248. <!--
  249. <View
  250. android:layout_width="match_parent"
  251. android:layout_height="1dp"
  252. android:background="@color/EBEBEB" />
  253. -->
  254. <View
  255. android:layout_width="match_parent"
  256. android:layout_height="@dimen/view_layout_height_1"
  257. android:background="#1000" />
  258. <LinearLayout
  259. android:layout_width="match_parent"
  260. android:layout_height="wrap_content"
  261. android:gravity="center"
  262. android:orientation="horizontal"
  263. android:padding="10dp" >
  264. <ImageView
  265. android:id="@+id/searchc"
  266. android:layout_width="wrap_content"
  267. android:layout_height="wrap_content"
  268. android:layout_gravity="center"
  269. android:gravity="center_vertical"
  270. android:src="@drawable/im_chaxun" />
  271. </LinearLayout>
  272. </LinearLayout>