e06b54278751cb4ea15631e50001792ba14e2639.svn-base 14 KB

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