activity_new_report.xml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/main1"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/white"
  7. android:orientation="vertical" >
  8. <ScrollView
  9. android:layout_width="fill_parent"
  10. android:layout_height="0dp"
  11. android:layout_weight="1" >
  12. <LinearLayout
  13. android:layout_width="fill_parent"
  14. android:layout_height="wrap_content"
  15. android:orientation="vertical" >
  16. <View
  17. android:layout_width="match_parent"
  18. android:layout_height="10dp"
  19. android:layout_marginTop="3dp"
  20. android:background="@color/linegray"
  21. />
  22. <RelativeLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="@dimen/ll_layout_height_50" >
  25. <TextView
  26. android:id="@+id/customerNameTitle"
  27. android:layout_width="80dp"
  28. android:layout_height="wrap_content"
  29. android:layout_centerVertical="true"
  30. android:layout_marginLeft="15dp"
  31. android:text="客户名称"
  32. android:textColor="@color/black"
  33. android:textSize="@dimen/textsize_13" />
  34. <LinearLayout
  35. android:id="@+id/customerNameLin"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:layout_centerVertical="true"
  39. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  40. android:layout_toRightOf="@id/customerNameTitle"
  41. android:orientation="horizontal" >
  42. <EditText
  43. android:id="@+id/et_customer_name"
  44. android:layout_width="wrap_content"
  45. android:layout_height="match_parent"
  46. android:layout_gravity="center_vertical"
  47. android:background="@null"
  48. android:hint="请输入客户名称 "
  49. android:maxLength="100"
  50. android:ellipsize="end"
  51. android:singleLine="true"
  52. android:text=""
  53. android:textColor="@color/black"
  54. android:textSize="@dimen/textsize_13" />
  55. </LinearLayout>
  56. <LinearLayout
  57. android:layout_width="fill_parent"
  58. android:layout_height="wrap_content"
  59. android:layout_alignParentBottom="true"
  60. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  61. android:layout_toRightOf="@id/customerNameTitle"
  62. android:background="@color/white"
  63. android:orientation="vertical" >
  64. <View
  65. android:layout_width="match_parent"
  66. android:layout_height="1dp"
  67. android:background="@color/linegray" />
  68. </LinearLayout>
  69. </RelativeLayout>
  70. <RelativeLayout
  71. android:layout_width="match_parent"
  72. android:layout_height="@dimen/ll_layout_height_50" >
  73. <TextView
  74. android:id="@+id/contactPersonTitle"
  75. android:layout_width="80dp"
  76. android:layout_height="wrap_content"
  77. android:layout_centerVertical="true"
  78. android:layout_marginLeft="15dp"
  79. android:text="联 系 人"
  80. android:textColor="@color/black"
  81. android:textSize="@dimen/textsize_13" />
  82. <LinearLayout
  83. android:id="@+id/contactPersonLin"
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content"
  86. android:layout_centerVertical="true"
  87. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  88. android:layout_toRightOf="@id/contactPersonTitle"
  89. android:orientation="horizontal" >
  90. <EditText
  91. android:id="@+id/et_contact_person"
  92. android:layout_width="wrap_content"
  93. android:layout_height="match_parent"
  94. android:layout_gravity="center_vertical"
  95. android:background="@null"
  96. android:maxLength="50"
  97. android:hint="请输入联系人 "
  98. android:singleLine="true"
  99. android:text=""
  100. android:textColor="@color/black"
  101. android:textSize="@dimen/textsize_13" />
  102. </LinearLayout>
  103. <LinearLayout
  104. android:layout_width="fill_parent"
  105. android:layout_height="wrap_content"
  106. android:layout_alignParentBottom="true"
  107. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  108. android:layout_toRightOf="@id/contactPersonTitle"
  109. android:background="@color/white"
  110. android:orientation="vertical" >
  111. <View
  112. android:layout_width="match_parent"
  113. android:layout_height="1dp"
  114. android:background="@color/linegray" />
  115. </LinearLayout>
  116. </RelativeLayout>
  117. <RelativeLayout
  118. android:layout_width="match_parent"
  119. android:layout_height="@dimen/ll_layout_height_50" >
  120. <TextView
  121. android:id="@+id/contactPhoneTitle"
  122. android:layout_width="80dp"
  123. android:layout_height="wrap_content"
  124. android:layout_centerVertical="true"
  125. android:layout_marginLeft="15dp"
  126. android:text="联系电话"
  127. android:textColor="@color/black"
  128. android:textSize="@dimen/textsize_13" />
  129. <LinearLayout
  130. android:id="@+id/contactTelephoneLin"
  131. android:layout_width="match_parent"
  132. android:layout_height="wrap_content"
  133. android:layout_centerVertical="true"
  134. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  135. android:layout_toRightOf="@id/contactPhoneTitle"
  136. android:orientation="horizontal" >
  137. <EditText
  138. android:id="@+id/et_contact_phone"
  139. android:layout_width="wrap_content"
  140. android:layout_height="match_parent"
  141. android:layout_gravity="center_vertical"
  142. android:background="@null"
  143. android:maxLength="12"
  144. android:hint="请输入联系电话 "
  145. android:singleLine="true"
  146. android:text=""
  147. android:textColor="@color/black"
  148. android:textSize="@dimen/textsize_13" />
  149. </LinearLayout>
  150. <LinearLayout
  151. android:layout_width="fill_parent"
  152. android:layout_height="wrap_content"
  153. android:layout_alignParentBottom="true"
  154. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  155. android:layout_toRightOf="@id/contactPhoneTitle"
  156. android:background="@color/white"
  157. android:orientation="vertical" >
  158. <View
  159. android:layout_width="match_parent"
  160. android:layout_height="1dp"
  161. android:background="@color/linegray" />
  162. </LinearLayout>
  163. </RelativeLayout>
  164. <RelativeLayout
  165. android:layout_width="match_parent"
  166. android:layout_height="@dimen/ll_layout_height_50" >
  167. <TextView
  168. android:id="@+id/addressTitle"
  169. android:layout_width="80dp"
  170. android:layout_height="wrap_content"
  171. android:layout_centerVertical="true"
  172. android:layout_marginLeft="15dp"
  173. android:text="地 址"
  174. android:textColor="@color/black"
  175. android:textSize="@dimen/textsize_13" />
  176. <LinearLayout
  177. android:id="@+id/addressLin"
  178. android:layout_width="match_parent"
  179. android:layout_height="wrap_content"
  180. android:layout_centerVertical="true"
  181. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  182. android:layout_toRightOf="@id/addressTitle"
  183. android:orientation="horizontal" >
  184. <EditText
  185. android:id="@+id/et_address"
  186. android:layout_width="wrap_content"
  187. android:layout_height="match_parent"
  188. android:layout_gravity="center_vertical"
  189. android:background="@null"
  190. android:singleLine="true"
  191. android:maxLength="255"
  192. android:hint="请输入地址 "
  193. android:text=""
  194. android:textColor="@color/black"
  195. android:textSize="@dimen/textsize_13" />
  196. </LinearLayout>
  197. <LinearLayout
  198. android:layout_width="fill_parent"
  199. android:layout_height="wrap_content"
  200. android:layout_alignParentBottom="true"
  201. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  202. android:layout_toRightOf="@id/addressTitle"
  203. android:background="@color/white"
  204. android:orientation="vertical" >
  205. <View
  206. android:layout_width="match_parent"
  207. android:layout_height="1dp"
  208. android:background="@color/linegray" />
  209. </LinearLayout>
  210. </RelativeLayout>
  211. <RelativeLayout
  212. android:layout_width="match_parent"
  213. android:layout_height="@dimen/ll_layout_height_50" >
  214. <TextView
  215. android:id="@+id/customerStatusTitle"
  216. android:layout_width="80dp"
  217. android:layout_height="wrap_content"
  218. android:layout_centerVertical="true"
  219. android:layout_marginLeft="15dp"
  220. android:text="客户状态"
  221. android:textColor="@color/black"
  222. android:textSize="@dimen/textsize_13" />
  223. <LinearLayout
  224. android:id="@+id/customerStatusLin"
  225. android:layout_width="match_parent"
  226. android:layout_height="wrap_content"
  227. android:layout_centerVertical="true"
  228. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  229. android:layout_toRightOf="@id/customerStatusTitle"
  230. android:gravity="center"
  231. android:orientation="horizontal" >
  232. <TextView
  233. android:id="@+id/tv_customer_status"
  234. android:layout_width="wrap_content"
  235. android:layout_height="wrap_content"
  236. android:layout_gravity="center_vertical"
  237. android:background="@null"
  238. android:hint="请选择客户状态 "
  239. android:singleLine="true"
  240. android:text=""
  241. android:textColor="@color/black"
  242. android:textSize="@dimen/textsize_13" />
  243. <LinearLayout
  244. android:layout_width="match_parent"
  245. android:layout_height="wrap_content"
  246. android:gravity="right"
  247. android:orientation="horizontal" >
  248. <ImageView
  249. android:id="@+id/customerStatusIv"
  250. android:layout_width="wrap_content"
  251. android:layout_height="wrap_content"
  252. android:layout_gravity="center_vertical"
  253. android:layout_marginRight="15dp"
  254. android:src="@drawable/right" />
  255. </LinearLayout>
  256. </LinearLayout>
  257. <LinearLayout
  258. android:layout_width="fill_parent"
  259. android:layout_height="wrap_content"
  260. android:layout_alignParentBottom="true"
  261. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  262. android:layout_toRightOf="@id/customerStatusTitle"
  263. android:background="@color/white"
  264. android:orientation="vertical" >
  265. <View
  266. android:layout_width="match_parent"
  267. android:layout_height="1dp"
  268. android:background="@color/linegray" />
  269. </LinearLayout>
  270. </RelativeLayout>
  271. <RelativeLayout
  272. android:layout_width="match_parent"
  273. android:layout_height="@dimen/ll_layout_height_50" >
  274. <TextView
  275. android:id="@+id/channelTitle"
  276. android:layout_width="80dp"
  277. android:layout_height="wrap_content"
  278. android:layout_centerVertical="true"
  279. android:layout_marginLeft="15dp"
  280. android:text="渠 道"
  281. android:textColor="@color/black"
  282. android:textSize="@dimen/textsize_13" />
  283. <LinearLayout
  284. android:id="@+id/channelLin"
  285. android:layout_width="match_parent"
  286. android:layout_height="wrap_content"
  287. android:layout_centerVertical="true"
  288. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  289. android:layout_toRightOf="@id/channelTitle"
  290. android:gravity="center"
  291. android:orientation="horizontal" >
  292. <TextView
  293. android:id="@+id/tv_channel"
  294. android:layout_width="wrap_content"
  295. android:layout_height="wrap_content"
  296. android:layout_gravity="center_vertical"
  297. android:background="@null"
  298. android:hint="请选择渠道 "
  299. android:singleLine="true"
  300. android:text=""
  301. android:textColor="@color/black"
  302. android:textSize="@dimen/textsize_13" />
  303. <LinearLayout
  304. android:layout_width="match_parent"
  305. android:layout_height="wrap_content"
  306. android:gravity="right"
  307. android:orientation="horizontal" >
  308. <ImageView
  309. android:id="@+id/channelIv"
  310. android:layout_width="wrap_content"
  311. android:layout_height="wrap_content"
  312. android:layout_gravity="center_vertical"
  313. android:layout_marginRight="15dp"
  314. android:src="@drawable/right" />
  315. </LinearLayout>
  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/channelTitle"
  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/linegray" />
  329. </LinearLayout>
  330. </RelativeLayout>
  331. <RelativeLayout
  332. android:layout_width="match_parent"
  333. android:layout_height="@dimen/ll_layout_height_50" >
  334. <TextView
  335. android:id="@+id/customerTypeTitle"
  336. android:layout_width="80dp"
  337. android:layout_height="wrap_content"
  338. android:layout_centerVertical="true"
  339. android:layout_marginLeft="15dp"
  340. android:text="客户性质"
  341. android:textColor="@color/black"
  342. android:textSize="@dimen/textsize_13" />
  343. <LinearLayout
  344. android:id="@+id/customerTypeLin"
  345. android:layout_width="match_parent"
  346. android:layout_height="wrap_content"
  347. android:layout_centerVertical="true"
  348. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  349. android:layout_toRightOf="@id/customerTypeTitle"
  350. android:gravity="center"
  351. android:orientation="horizontal" >
  352. <TextView
  353. android:id="@+id/tv_customer_type"
  354. android:layout_width="wrap_content"
  355. android:layout_height="wrap_content"
  356. android:layout_gravity="center_vertical"
  357. android:background="@null"
  358. android:hint="请选择客户性质 "
  359. android:singleLine="true"
  360. android:text=""
  361. android:textColor="@color/black"
  362. android:textSize="@dimen/textsize_13" />
  363. <LinearLayout
  364. android:layout_width="match_parent"
  365. android:layout_height="wrap_content"
  366. android:gravity="right"
  367. android:orientation="horizontal" >
  368. <ImageView
  369. android:id="@+id/customerTypeIv"
  370. android:layout_width="wrap_content"
  371. android:layout_height="wrap_content"
  372. android:layout_gravity="center_vertical"
  373. android:layout_marginRight="15dp"
  374. android:src="@drawable/right" />
  375. </LinearLayout>
  376. </LinearLayout>
  377. <LinearLayout
  378. android:layout_width="fill_parent"
  379. android:layout_height="wrap_content"
  380. android:layout_alignParentBottom="true"
  381. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  382. android:layout_toRightOf="@id/customerTypeTitle"
  383. android:background="@color/white"
  384. android:orientation="vertical" >
  385. <View
  386. android:layout_width="match_parent"
  387. android:layout_height="1dp"
  388. android:background="@color/linegray" />
  389. </LinearLayout>
  390. </RelativeLayout>
  391. <RelativeLayout
  392. android:layout_width="match_parent"
  393. android:layout_height="@dimen/ll_layout_height_50" >
  394. <TextView
  395. android:id="@+id/customerLevelTitle"
  396. android:layout_width="80dp"
  397. android:layout_height="wrap_content"
  398. android:layout_centerVertical="true"
  399. android:layout_marginLeft="15dp"
  400. android:text="客户级别"
  401. android:textColor="@color/black"
  402. android:textSize="@dimen/textsize_13" />
  403. <LinearLayout
  404. android:id="@+id/customerLevelLin"
  405. android:layout_width="match_parent"
  406. android:layout_height="wrap_content"
  407. android:layout_centerVertical="true"
  408. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  409. android:layout_toRightOf="@id/customerLevelTitle"
  410. android:gravity="center"
  411. android:orientation="horizontal" >
  412. <TextView
  413. android:id="@+id/tv_customer_level"
  414. android:layout_width="wrap_content"
  415. android:layout_height="wrap_content"
  416. android:layout_gravity="center_vertical"
  417. android:background="@null"
  418. android:hint="请选择客户级别 "
  419. android:singleLine="true"
  420. android:text=""
  421. android:textColor="@color/black"
  422. android:textSize="@dimen/textsize_13" />
  423. <LinearLayout
  424. android:layout_width="match_parent"
  425. android:layout_height="wrap_content"
  426. android:gravity="right"
  427. android:orientation="horizontal" >
  428. <ImageView
  429. android:id="@+id/customerLevelIv"
  430. android:layout_width="wrap_content"
  431. android:layout_height="wrap_content"
  432. android:layout_gravity="center_vertical"
  433. android:layout_marginRight="15dp"
  434. android:src="@drawable/right" />
  435. </LinearLayout>
  436. </LinearLayout>
  437. <LinearLayout
  438. android:layout_width="fill_parent"
  439. android:layout_height="wrap_content"
  440. android:layout_alignParentBottom="true"
  441. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  442. android:layout_toRightOf="@id/customerLevelTitle"
  443. android:background="@color/white"
  444. android:orientation="vertical" >
  445. <View
  446. android:layout_width="match_parent"
  447. android:layout_height="1dp"
  448. android:background="@color/linegray" />
  449. </LinearLayout>
  450. </RelativeLayout>
  451. <RelativeLayout
  452. android:layout_width="match_parent"
  453. android:layout_height="@dimen/ll_layout_height_50" >
  454. <TextView
  455. android:id="@+id/customerAreaTitle"
  456. android:layout_width="80dp"
  457. android:layout_height="wrap_content"
  458. android:layout_centerVertical="true"
  459. android:layout_marginLeft="15dp"
  460. android:text="客户区域"
  461. android:textColor="@color/black"
  462. android:textSize="@dimen/textsize_13" />
  463. <LinearLayout
  464. android:id="@+id/customerAreaLin"
  465. android:layout_width="match_parent"
  466. android:layout_height="wrap_content"
  467. android:layout_centerVertical="true"
  468. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  469. android:layout_toRightOf="@id/customerAreaTitle"
  470. android:orientation="horizontal" >
  471. <TextView
  472. android:id="@+id/tv_customer_area"
  473. android:layout_width="wrap_content"
  474. android:layout_height="wrap_content"
  475. android:layout_gravity="center_vertical"
  476. android:background="@null"
  477. android:hint="请选择客户区域 "
  478. android:singleLine="true"
  479. android:text=""
  480. android:textColor="@color/black"
  481. android:textSize="@dimen/textsize_13" />
  482. <LinearLayout
  483. android:layout_width="match_parent"
  484. android:layout_height="wrap_content"
  485. android:gravity="right"
  486. android:orientation="horizontal" >
  487. <ImageView
  488. android:id="@+id/customerAreaIv"
  489. android:layout_width="wrap_content"
  490. android:layout_height="wrap_content"
  491. android:layout_gravity="center_vertical"
  492. android:layout_marginRight="15dp"
  493. android:src="@drawable/right" />
  494. </LinearLayout>
  495. </LinearLayout>
  496. <LinearLayout
  497. android:layout_width="fill_parent"
  498. android:layout_height="wrap_content"
  499. android:layout_alignParentBottom="true"
  500. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  501. android:layout_toRightOf="@id/customerAreaTitle"
  502. android:background="@color/white"
  503. android:orientation="vertical" >
  504. <View
  505. android:layout_width="match_parent"
  506. android:layout_height="1dp"
  507. android:background="@color/linegray" />
  508. </LinearLayout>
  509. </RelativeLayout>
  510. <RelativeLayout
  511. android:layout_width="match_parent"
  512. android:layout_height="@dimen/ll_layout_height_50" >
  513. <TextView
  514. android:id="@+id/validFlagTitle"
  515. android:layout_width="80dp"
  516. android:layout_centerVertical="true"
  517. android:layout_height="wrap_content"
  518. android:layout_marginLeft="15dp"
  519. android:text="有效标识"
  520. android:textColor="@color/black"
  521. android:textSize="@dimen/textsize_13" />
  522. <LinearLayout
  523. android:id="@+id/validFlagLin"
  524. android:layout_width="match_parent"
  525. android:layout_height="wrap_content"
  526. android:layout_centerVertical="true"
  527. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  528. android:layout_toRightOf="@id/validFlagTitle"
  529. android:orientation="horizontal" >
  530. <TextView
  531. android:id="@+id/tv_valid_flag"
  532. android:layout_width="wrap_content"
  533. android:layout_height="wrap_content"
  534. android:layout_gravity="center_vertical"
  535. android:background="@null"
  536. android:hint="请选择有效标识 "
  537. android:singleLine="true"
  538. android:text=""
  539. android:textColor="@color/black"
  540. android:textSize="@dimen/textsize_13" />
  541. <LinearLayout
  542. android:layout_width="match_parent"
  543. android:layout_height="wrap_content"
  544. android:gravity="right"
  545. android:orientation="horizontal" >
  546. <CheckBox
  547. android:id="@+id/flagCheck"
  548. android:layout_width="wrap_content"
  549. android:layout_height="wrap_content"
  550. android:checked="true"
  551. android:scaleX="0.6"
  552. android:scaleY="0.6" />
  553. </LinearLayout>
  554. </LinearLayout>
  555. <LinearLayout
  556. android:layout_width="fill_parent"
  557. android:layout_height="wrap_content"
  558. android:layout_alignParentBottom="true"
  559. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  560. android:layout_toRightOf="@id/validFlagTitle"
  561. android:background="@color/white"
  562. android:orientation="vertical" >
  563. <View
  564. android:layout_width="match_parent"
  565. android:layout_height="1dp"
  566. android:background="@color/linegray" />
  567. </LinearLayout>
  568. </RelativeLayout>
  569. </LinearLayout>
  570. </ScrollView>
  571. </LinearLayout>