c0487ed2fe997334df49f50ad85270762df70342.svn-base 10 KB

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