133f52bdb573a6f822f575157e59bb02acaacb79.svn-base 15 KB

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