e6f2a20d4635513a0988470194c9dbcc87d7d291.svn-base 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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.My.InformationActivity">
  9. <com.hjq.bar.TitleBar
  10. android:id="@+id/tb_information_title"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. app:title="@string/setting_information" />
  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_information_name"
  25. android:layout_marginLeft="11.8dp"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content" />
  28. <TextView
  29. android:text="@string/personal_data_name"
  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/information_et_name"
  36. android:background="@null"
  37. android:textSize="15.3sp"
  38. android:layout_marginLeft="50.5dp"
  39. android:hint="@string/personal_data_name_hint"
  40. android:layout_weight="1"
  41. android:layout_width="0dp"
  42. android:maxLength="10"
  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_phone_icon"
  57. android:layout_marginLeft="11.8dp"
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content" />
  60. <TextView
  61. android:text="@string/login_phone"
  62. android:layout_marginLeft="10dp"
  63. android:textSize="15.3sp"
  64. android:layout_width="wrap_content"
  65. android:layout_height="wrap_content" />
  66. <LinearLayout
  67. android:layout_width="match_parent"
  68. android:layout_height="wrap_content">
  69. <EditText
  70. android:id="@+id/information_et_phone"
  71. android:background="@null"
  72. android:textSize="15.3sp"
  73. android:layout_marginLeft="35dp"
  74. android:hint="@string/login_phone_hint"
  75. android:layout_weight="1"
  76. android:layout_width="0dp"
  77. android:inputType="phone"
  78. android:maxLength="11"
  79. android:maxLines="1"
  80. android:layout_height="wrap_content" />
  81. <View
  82. style="@style/VerticalLineStyle"
  83. android:layout_marginTop="@dimen/space_20"
  84. android:layout_marginBottom="@dimen/space_20" />
  85. <com.hjq.widget.CountdownView
  86. android:id="@+id/cv_information_countdown"
  87. style="@style/CountdownViewStyle" />
  88. </LinearLayout>
  89. </LinearLayout>
  90. <LinearLayout
  91. android:layout_marginLeft="9.6dp"
  92. android:layout_marginRight="9.6dp"
  93. android:layout_marginTop="11.6dp"
  94. android:background="@color/white"
  95. android:gravity="center_vertical"
  96. android:layout_width="match_parent"
  97. android:orientation="horizontal"
  98. android:layout_height="57.6dp">
  99. <ImageView
  100. android:src="@mipmap/iv_code_icon"
  101. android:layout_marginLeft="11.8dp"
  102. android:layout_width="wrap_content"
  103. android:layout_height="wrap_content" />
  104. <TextView
  105. android:text="@string/login_code"
  106. android:layout_marginLeft="10dp"
  107. android:textSize="15.3sp"
  108. android:layout_width="wrap_content"
  109. android:layout_height="wrap_content" />
  110. <EditText
  111. android:id="@+id/information_et_code"
  112. android:background="@null"
  113. android:textSize="15.3sp"
  114. android:layout_marginLeft="35dp"
  115. android:hint="@string/common_code_input_hint"
  116. android:layout_weight="1"
  117. android:layout_width="0dp"
  118. android:inputType="phone"
  119. android:maxLength="6"
  120. android:maxLines="1"
  121. android:layout_height="wrap_content" />
  122. </LinearLayout>
  123. <LinearLayout
  124. android:layout_marginLeft="9.6dp"
  125. android:layout_marginRight="9.6dp"
  126. android:layout_marginTop="11.6dp"
  127. android:background="@color/white"
  128. android:gravity="center_vertical"
  129. android:layout_width="match_parent"
  130. android:orientation="horizontal"
  131. android:layout_height="57.6dp">
  132. <ImageView
  133. android:src="@mipmap/iv_pwd_icon"
  134. android:layout_marginLeft="11.8dp"
  135. android:layout_width="wrap_content"
  136. android:layout_height="wrap_content" />
  137. <TextView
  138. android:text="@string/login_pwd"
  139. android:layout_marginLeft="10dp"
  140. android:textSize="15.3sp"
  141. android:layout_width="wrap_content"
  142. android:layout_height="wrap_content" />
  143. <EditText
  144. android:id="@+id/information_et_pwd"
  145. android:background="@null"
  146. android:textSize="15.3sp"
  147. android:layout_marginLeft="50dp"
  148. android:hint="@string/login_password_hint"
  149. android:layout_weight="1"
  150. android:layout_width="0dp"
  151. android:inputType="textPassword"
  152. android:maxLength="20"
  153. android:maxLines="1"
  154. android:layout_height="wrap_content" />
  155. </LinearLayout>
  156. <LinearLayout
  157. android:layout_marginLeft="9.6dp"
  158. android:layout_marginRight="9.6dp"
  159. android:layout_marginTop="11.6dp"
  160. android:background="@color/white"
  161. android:gravity="center_vertical"
  162. android:layout_width="match_parent"
  163. android:orientation="horizontal"
  164. android:layout_height="57.6dp">
  165. <ImageView
  166. android:src="@mipmap/iv_information_email"
  167. android:layout_marginLeft="11.8dp"
  168. android:layout_width="wrap_content"
  169. android:layout_height="wrap_content" />
  170. <TextView
  171. android:text="@string/personal_data_email"
  172. android:layout_marginLeft="10dp"
  173. android:textSize="15.3sp"
  174. android:layout_width="wrap_content"
  175. android:layout_height="wrap_content" />
  176. <EditText
  177. android:id="@+id/information_et_email"
  178. android:background="@null"
  179. android:textSize="15.3sp"
  180. android:layout_marginLeft="51.5dp"
  181. android:hint="@string/personal_data_email_hint"
  182. android:layout_weight="1"
  183. android:layout_width="0dp"
  184. android:maxLength="25"
  185. android:maxLines="1"
  186. android:layout_height="wrap_content" />
  187. </LinearLayout>
  188. <Button
  189. android:id="@+id/forget_btn_login"
  190. android:layout_width="282dp"
  191. android:layout_height="48dp"
  192. android:layout_gravity="center_horizontal"
  193. android:layout_marginTop="38.5dp"
  194. android:background="@drawable/selector_button"
  195. android:text="@string/personal_data_reset"
  196. android:textColor="@color/white"
  197. android:textSize="15.3sp" />
  198. </LinearLayout>