a09932a172a7650540927898734e669a88e2953a.svn-base 12 KB

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