9a4f124f062eda8cda6e93035810573031ea4cda.svn-base 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  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:singleLine="true"
  94. android:textSize="15.3sp" />
  95. </LinearLayout>
  96. <LinearLayout
  97. android:layout_width="match_parent"
  98. android:layout_height="55dp"
  99. android:layout_marginLeft="9.6dp"
  100. android:layout_marginTop="11.6dp"
  101. android:layout_marginRight="9.6dp"
  102. android:background="@color/white"
  103. android:gravity="center_vertical"
  104. android:orientation="horizontal">
  105. <ImageView
  106. android:layout_width="wrap_content"
  107. android:layout_height="wrap_content"
  108. android:layout_marginLeft="11.8dp"
  109. android:src="@mipmap/iv_information_idcard" />
  110. <TextView
  111. android:layout_width="wrap_content"
  112. android:layout_height="wrap_content"
  113. android:layout_marginLeft="10dp"
  114. android:text="@string/personal_data_idnum"
  115. android:textSize="15.3sp" />
  116. <EditText
  117. android:id="@+id/attc_et_code"
  118. android:layout_width="0dp"
  119. android:layout_height="wrap_content"
  120. android:layout_marginLeft="20dp"
  121. android:layout_weight="1"
  122. android:background="@null"
  123. android:hint="@string/personal_data_idnum_hint"
  124. android:lines="1"
  125. android:maxLength="20"
  126. android:maxLines="1"
  127. android:singleLine="true"
  128. android:textSize="15.3sp" />
  129. </LinearLayout>
  130. <LinearLayout
  131. android:layout_width="match_parent"
  132. android:layout_height="55dp"
  133. android:layout_marginLeft="9.6dp"
  134. android:layout_marginTop="11.6dp"
  135. android:layout_marginRight="9.6dp"
  136. android:background="@color/white"
  137. android:gravity="center_vertical"
  138. android:orientation="horizontal">
  139. <ImageView
  140. android:layout_width="wrap_content"
  141. android:layout_height="wrap_content"
  142. android:layout_marginLeft="11.8dp"
  143. android:src="@mipmap/iv_information_email" />
  144. <TextView
  145. android:layout_width="wrap_content"
  146. android:layout_height="wrap_content"
  147. android:layout_marginLeft="10dp"
  148. android:text="@string/personal_data_email"
  149. android:textSize="15.3sp" />
  150. <EditText
  151. android:id="@+id/attc_et_email"
  152. android:layout_width="0dp"
  153. android:layout_height="wrap_content"
  154. android:layout_marginLeft="51.5dp"
  155. android:layout_weight="1"
  156. android:background="@null"
  157. android:hint="@string/personal_data_email_hint"
  158. android:lines="1"
  159. android:maxLength="25"
  160. android:maxLines="1"
  161. android:singleLine="true"
  162. android:textSize="15.3sp" />
  163. </LinearLayout>
  164. <LinearLayout
  165. android:layout_width="match_parent"
  166. android:layout_height="100dp"
  167. android:layout_marginLeft="9.6dp"
  168. android:layout_marginTop="11.6dp"
  169. android:layout_marginRight="9.6dp"
  170. android:background="@color/white"
  171. android:gravity="center_vertical"
  172. android:orientation="horizontal">
  173. <ImageView
  174. android:layout_width="wrap_content"
  175. android:layout_height="wrap_content"
  176. android:layout_marginLeft="11.8dp"
  177. android:src="@mipmap/iv_information_post" />
  178. <TextView
  179. android:layout_width="wrap_content"
  180. android:layout_height="wrap_content"
  181. android:layout_marginLeft="10dp"
  182. android:text="@string/authentication__post"
  183. android:textSize="15.3sp" />
  184. <LinearLayout
  185. android:layout_width="0dp"
  186. android:layout_height="wrap_content"
  187. android:layout_marginLeft="16dp"
  188. android:layout_weight="1"
  189. android:orientation="vertical">
  190. <TextView
  191. android:id="@+id/tv_information_hospital"
  192. android:layout_width="wrap_content"
  193. android:layout_height="wrap_content"
  194. android:layout_marginBottom="10dp"
  195. android:hint="企业类型" />
  196. <TextView
  197. android:layout_width="match_parent"
  198. android:layout_height="1dp"
  199. android:background="@color/gray" />
  200. <TextView
  201. android:id="@+id/tv_information_factory"
  202. android:layout_width="wrap_content"
  203. android:layout_height="wrap_content"
  204. android:layout_marginTop="15dp"
  205. android:hint="职务" />
  206. </LinearLayout>
  207. </LinearLayout>
  208. <LinearLayout
  209. android:id="@+id/attc_ll_license"
  210. android:layout_width="match_parent"
  211. android:layout_height="63dp"
  212. android:layout_marginLeft="9.6dp"
  213. android:layout_marginTop="11.6dp"
  214. android:layout_marginRight="9.6dp"
  215. android:background="@color/white"
  216. android:gravity="center_vertical"
  217. android:orientation="horizontal"
  218. android:visibility="gone">
  219. <ImageView
  220. android:layout_width="22dp"
  221. android:layout_height="22dp"
  222. android:layout_marginLeft="11.8dp"
  223. android:src="@mipmap/iv_information_license" />
  224. <TextView
  225. android:layout_width="wrap_content"
  226. android:layout_height="wrap_content"
  227. android:layout_marginLeft="10dp"
  228. android:text="@string/authentication__license"
  229. android:textSize="15.3sp" />
  230. <cn.bingoogolapple.photopicker.widget.BGASortableNinePhotoLayout
  231. android:id="@+id/snpl_moment_add_photos"
  232. android:layout_width="wrap_content"
  233. android:layout_height="wrap_content"
  234. android:layout_marginLeft="22dp"
  235. app:bga_snpl_deleteDrawable="@mipmap/bga_pp_ic_delete"
  236. app:bga_snpl_deleteDrawableOverlapQuarter="false"
  237. app:bga_snpl_editable="true"
  238. app:bga_snpl_itemCornerRadius="0dp"
  239. app:bga_snpl_itemWhiteSpacing="6dp"
  240. app:bga_snpl_itemWidth="55dp"
  241. app:bga_snpl_maxItemCount="3"
  242. app:bga_snpl_otherWhiteSpacing="0dp"
  243. app:bga_snpl_placeholderDrawable="@mipmap/bga_pp_ic_holder_light"
  244. app:bga_snpl_plusDrawable="@mipmap/iv_upload_icon"
  245. app:bga_snpl_plusEnable="true"
  246. app:bga_snpl_sortable="false" />
  247. <ImageView
  248. android:id="@+id/attc_et_license"
  249. android:layout_width="63dp"
  250. android:layout_height="43dp"
  251. android:layout_marginLeft="22dp"
  252. android:src="@mipmap/iv_upload_icon"
  253. android:visibility="gone" />
  254. <!--<TextView
  255. android:id="@+id/attc_et_imgcount"
  256. android:layout_width="wrap_content"
  257. android:layout_height="wrap_content"
  258. android:layout_marginLeft="50dp"
  259. android:textSize="10dp" />-->
  260. </LinearLayout>
  261. <LinearLayout
  262. android:id="@+id/attc_ll_prove"
  263. android:layout_width="match_parent"
  264. android:layout_height="63dp"
  265. android:layout_marginLeft="9.6dp"
  266. android:layout_marginTop="11.6dp"
  267. android:layout_marginRight="9.6dp"
  268. android:background="@color/white"
  269. android:gravity="center_vertical"
  270. android:orientation="horizontal"
  271. android:visibility="gone">
  272. <ImageView
  273. android:layout_width="22dp"
  274. android:layout_height="22dp"
  275. android:layout_marginLeft="11.8dp"
  276. android:src="@mipmap/iv_information_license" />
  277. <TextView
  278. android:layout_width="wrap_content"
  279. android:layout_height="wrap_content"
  280. android:layout_marginLeft="10dp"
  281. android:text="@string/authentication__prove"
  282. android:textSize="15.3sp" />
  283. <ImageView
  284. android:id="@+id/attc_et_prove"
  285. android:layout_width="55dp"
  286. android:layout_height="55dp"
  287. android:layout_marginLeft="25dp"
  288. android:scaleType="centerCrop"
  289. android:src="@mipmap/iv_upload_icon" />
  290. <Button
  291. android:id="@+id/download_btn"
  292. android:layout_width="60dp"
  293. android:layout_height="33dp"
  294. android:layout_gravity="center_vertical"
  295. android:layout_marginLeft="45dp"
  296. android:background="@drawable/download_button"
  297. android:src="@mipmap/iv_upload_icon"
  298. android:text="@string/login_dowload"
  299. android:textColor="@color/white"
  300. android:textSize="10sp" />
  301. </LinearLayout>
  302. </LinearLayout>
  303. </ScrollView>
  304. <Button
  305. android:id="@+id/attc_btn_register"
  306. android:layout_width="282dp"
  307. android:layout_height="0dp"
  308. android:layout_gravity="center"
  309. android:layout_marginTop="5dp"
  310. android:layout_marginBottom="5dp"
  311. android:layout_weight="0.7"
  312. android:background="@drawable/selector_button"
  313. android:text="@string/authentication__register"
  314. android:textColor="@color/white"
  315. android:textSize="15.3sp" />
  316. </LinearLayout>