33b5398cd38551b1dbaaa3bffd5f2f3aedf8a99f.svn-base 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. android:weightSum="10"
  9. tools:context=".ui.login.AuthenticationActivity">
  10. <com.hjq.bar.TitleBar
  11. android:id="@+id/attc_title"
  12. android:layout_width="match_parent"
  13. android:layout_height="0dp"
  14. android:layout_weight="0.8"
  15. app:title="@string/authentication_title" />
  16. <ScrollView
  17. android:layout_width="match_parent"
  18. android:layout_height="0dp"
  19. android:layout_below="@+id/attc_title"
  20. android:layout_weight="8.4">
  21. <LinearLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:orientation="vertical">
  25. <LinearLayout
  26. android:layout_width="match_parent"
  27. android:layout_height="55dp"
  28. android:layout_marginLeft="9.6dp"
  29. android:layout_marginTop="11.6dp"
  30. android:layout_marginRight="9.6dp"
  31. android:background="@color/white"
  32. android:gravity="center_vertical"
  33. android:orientation="horizontal">
  34. <ImageView
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_marginLeft="11.8dp"
  38. android:src="@mipmap/iv_information_company" />
  39. <TextView
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_marginLeft="10dp"
  43. android:text="@string/authentication_company"
  44. android:textSize="15.3sp" />
  45. <TextView
  46. android:id="@+id/attc_et_phone"
  47. android:layout_width="0dp"
  48. android:layout_height="wrap_content"
  49. android:layout_marginLeft="22dp"
  50. android:layout_weight="1"
  51. android:hint="@string/authentication_company_hint"
  52. android:maxLength="20"
  53. android:maxLines="1"
  54. android:textSize="15.3sp" />
  55. <ImageView
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_marginLeft="17dp"
  59. android:layout_marginRight="15dp"
  60. android:src="@mipmap/iv_arrowright_icon"
  61. android:textSize="18sp" />
  62. </LinearLayout>
  63. <LinearLayout
  64. android:layout_width="match_parent"
  65. android:layout_height="55dp"
  66. android:layout_marginLeft="9.6dp"
  67. android:layout_marginTop="11.6dp"
  68. android:layout_marginRight="9.6dp"
  69. android:background="@color/white"
  70. android:gravity="center_vertical"
  71. android:orientation="horizontal">
  72. <ImageView
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:layout_marginLeft="11.8dp"
  76. android:src="@mipmap/iv_information_name" />
  77. <TextView
  78. android:layout_width="wrap_content"
  79. android:layout_height="wrap_content"
  80. android:layout_marginLeft="10dp"
  81. android:text="@string/personal_data_name"
  82. android:textSize="15.3sp" />
  83. <EditText
  84. android:id="@+id/attc_et_name"
  85. android:layout_width="0dp"
  86. android:layout_height="wrap_content"
  87. android:layout_marginLeft="50.5dp"
  88. android:layout_weight="1"
  89. android:background="@null"
  90. android:hint="@string/personal_data_name_hint"
  91. android:maxLength="10"
  92. android:maxLines="1"
  93. android:textSize="15.3sp" />
  94. </LinearLayout>
  95. <LinearLayout
  96. android:layout_width="match_parent"
  97. android:layout_height="55dp"
  98. android:layout_marginLeft="9.6dp"
  99. android:layout_marginTop="11.6dp"
  100. android:layout_marginRight="9.6dp"
  101. android:background="@color/white"
  102. android:gravity="center_vertical"
  103. android:orientation="horizontal">
  104. <ImageView
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. android:layout_marginLeft="11.8dp"
  108. android:src="@mipmap/iv_information_idcard" />
  109. <TextView
  110. android:layout_width="wrap_content"
  111. android:layout_height="wrap_content"
  112. android:layout_marginLeft="10dp"
  113. android:text="@string/personal_data_idnum"
  114. android:textSize="15.3sp" />
  115. <EditText
  116. android:id="@+id/attc_et_code"
  117. android:layout_width="0dp"
  118. android:layout_height="wrap_content"
  119. android:layout_marginLeft="20dp"
  120. android:layout_weight="1"
  121. android:background="@null"
  122. android:hint="@string/personal_data_idnum_hint"
  123. android:maxLength="20"
  124. android:maxLines="1"
  125. android:textSize="15.3sp" />
  126. </LinearLayout>
  127. <LinearLayout
  128. android:layout_width="match_parent"
  129. android:layout_height="55dp"
  130. android:layout_marginLeft="9.6dp"
  131. android:layout_marginTop="11.6dp"
  132. android:layout_marginRight="9.6dp"
  133. android:background="@color/white"
  134. android:gravity="center_vertical"
  135. android:orientation="horizontal">
  136. <ImageView
  137. android:layout_width="wrap_content"
  138. android:layout_height="wrap_content"
  139. android:layout_marginLeft="11.8dp"
  140. android:src="@mipmap/iv_information_email" />
  141. <TextView
  142. android:layout_width="wrap_content"
  143. android:layout_height="wrap_content"
  144. android:layout_marginLeft="10dp"
  145. android:text="@string/personal_data_email"
  146. android:textSize="15.3sp" />
  147. <EditText
  148. android:id="@+id/attc_et_email"
  149. android:layout_width="0dp"
  150. android:layout_height="wrap_content"
  151. android:layout_marginLeft="51.5dp"
  152. android:layout_weight="1"
  153. android:background="@null"
  154. android:hint="@string/personal_data_email_hint"
  155. android:maxLength="25"
  156. android:maxLines="1"
  157. android:textSize="15.3sp" />
  158. </LinearLayout>
  159. <LinearLayout
  160. android:layout_width="match_parent"
  161. android:layout_height="100dp"
  162. android:layout_marginLeft="9.6dp"
  163. android:layout_marginTop="11.6dp"
  164. android:layout_marginRight="9.6dp"
  165. android:background="@color/white"
  166. android:gravity="center_vertical"
  167. android:orientation="horizontal">
  168. <ImageView
  169. android:layout_width="wrap_content"
  170. android:layout_height="wrap_content"
  171. android:layout_marginLeft="11.8dp"
  172. android:src="@mipmap/iv_information_post" />
  173. <TextView
  174. android:layout_width="wrap_content"
  175. android:layout_height="wrap_content"
  176. android:layout_marginLeft="10dp"
  177. android:text="@string/authentication__post"
  178. android:textSize="15.3sp" />
  179. <LinearLayout
  180. android:layout_width="0dp"
  181. android:layout_height="wrap_content"
  182. android:layout_marginLeft="16dp"
  183. android:layout_weight="1"
  184. android:orientation="vertical">
  185. <TextView
  186. android:id="@+id/tv_information_hospital"
  187. android:layout_width="wrap_content"
  188. android:layout_height="wrap_content"
  189. android:layout_marginBottom="10dp"
  190. android:hint="企业类型" />
  191. <TextView
  192. android:layout_width="match_parent"
  193. android:layout_height="1dp"
  194. android:background="@color/gray" />
  195. <TextView
  196. android:id="@+id/tv_information_factory"
  197. android:layout_width="wrap_content"
  198. android:layout_height="wrap_content"
  199. android:layout_marginTop="15dp"
  200. android:hint="职务" />
  201. </LinearLayout>
  202. </LinearLayout>
  203. <LinearLayout
  204. android:id="@+id/attc_ll_license"
  205. android:layout_width="match_parent"
  206. android:layout_height="63dp"
  207. android:layout_marginLeft="9.6dp"
  208. android:layout_marginTop="11.6dp"
  209. android:layout_marginRight="9.6dp"
  210. android:background="@color/white"
  211. android:gravity="center_vertical"
  212. android:orientation="horizontal"
  213. android:visibility="gone">
  214. <ImageView
  215. android:layout_width="22dp"
  216. android:layout_height="22dp"
  217. android:layout_marginLeft="11.8dp"
  218. android:src="@mipmap/iv_information_license" />
  219. <TextView
  220. android:layout_width="wrap_content"
  221. android:layout_height="wrap_content"
  222. android:layout_marginLeft="10dp"
  223. android:text="@string/authentication__license"
  224. android:textSize="15.3sp" />
  225. <cn.bingoogolapple.photopicker.widget.BGASortableNinePhotoLayout
  226. android:id="@+id/snpl_moment_add_photos"
  227. android:layout_width="wrap_content"
  228. android:layout_height="wrap_content"
  229. android:layout_marginLeft="22dp"
  230. app:bga_snpl_deleteDrawable="@mipmap/bga_pp_ic_delete"
  231. app:bga_snpl_deleteDrawableOverlapQuarter="false"
  232. app:bga_snpl_editable="true"
  233. app:bga_snpl_itemCornerRadius="0dp"
  234. app:bga_snpl_itemWhiteSpacing="6dp"
  235. app:bga_snpl_itemWidth="55dp"
  236. app:bga_snpl_maxItemCount="3"
  237. app:bga_snpl_otherWhiteSpacing="0dp"
  238. app:bga_snpl_placeholderDrawable="@mipmap/bga_pp_ic_holder_light"
  239. app:bga_snpl_plusDrawable="@mipmap/iv_upload_icon"
  240. app:bga_snpl_plusEnable="true"
  241. app:bga_snpl_sortable="false" />
  242. <ImageView
  243. android:id="@+id/attc_et_license"
  244. android:layout_width="63dp"
  245. android:layout_height="43dp"
  246. android:layout_marginLeft="22dp"
  247. android:src="@mipmap/iv_upload_icon"
  248. android:visibility="gone" />
  249. <!--<TextView
  250. android:id="@+id/attc_et_imgcount"
  251. android:layout_width="wrap_content"
  252. android:layout_height="wrap_content"
  253. android:layout_marginLeft="50dp"
  254. android:textSize="10dp" />-->
  255. </LinearLayout>
  256. <LinearLayout
  257. android:id="@+id/attc_ll_prove"
  258. android:layout_width="match_parent"
  259. android:layout_height="63dp"
  260. android:layout_marginLeft="9.6dp"
  261. android:layout_marginTop="11.6dp"
  262. android:layout_marginRight="9.6dp"
  263. android:background="@color/white"
  264. android:gravity="center_vertical"
  265. android:orientation="horizontal"
  266. android:visibility="gone">
  267. <ImageView
  268. android:layout_width="22dp"
  269. android:layout_height="22dp"
  270. android:layout_marginLeft="11.8dp"
  271. android:src="@mipmap/iv_information_license" />
  272. <TextView
  273. android:layout_width="wrap_content"
  274. android:layout_height="wrap_content"
  275. android:layout_marginLeft="10dp"
  276. android:text="@string/authentication__prove"
  277. android:textSize="15.3sp" />
  278. <ImageView
  279. android:id="@+id/attc_et_prove"
  280. android:layout_width="55dp"
  281. android:layout_height="55dp"
  282. android:layout_marginLeft="25dp"
  283. android:scaleType="centerCrop"
  284. android:src="@mipmap/iv_upload_icon" />
  285. <Button
  286. android:id="@+id/download_btn"
  287. android:layout_width="60dp"
  288. android:layout_height="33dp"
  289. android:layout_gravity="center_vertical"
  290. android:layout_marginLeft="45dp"
  291. android:background="@drawable/download_button"
  292. android:src="@mipmap/iv_upload_icon"
  293. android:text="@string/login_dowload"
  294. android:textColor="@color/white"
  295. android:textSize="10sp" />
  296. </LinearLayout>
  297. </LinearLayout>
  298. </ScrollView>
  299. <Button
  300. android:id="@+id/attc_btn_register"
  301. android:layout_width="282dp"
  302. android:layout_height="0dp"
  303. android:layout_gravity="center"
  304. android:layout_marginTop="5dp"
  305. android:layout_marginBottom="5dp"
  306. android:layout_weight="0.7"
  307. android:background="@drawable/selector_button"
  308. android:text="@string/authentication__register"
  309. android:textColor="@color/white"
  310. android:textSize="15.3sp" />
  311. </LinearLayout>