hnyy_retrieve_pwd.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="360dp"
  4. android:layout_height="280dp"
  5. android:layout_gravity="center"
  6. android:background="@drawable/hnyy_login_bg"
  7. android:orientation="vertical">
  8. <RelativeLayout
  9. android:id="@+id/rl1"
  10. android:layout_width="match_parent"
  11. android:layout_height="52dp"
  12. >
  13. <ImageButton
  14. android:id="@+id/close_btn"
  15. android:layout_width="26dp"
  16. android:layout_height="match_parent"
  17. android:layout_marginLeft="30dp"
  18. android:layout_centerVertical="true"
  19. android:src="@mipmap/hnyy_reback"
  20. android:background="@color/hnyy_transparent"
  21. />
  22. <TextView
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:text="@string/hnyy_forget_pwd"
  26. android:textSize="19sp"
  27. android:layout_centerInParent="true"
  28. android:textColor="@color/hnyy_edittext_bg_deep_gray"
  29. />
  30. <ImageButton
  31. android:id="@+id/btn_kefu"
  32. android:layout_width="26dp"
  33. android:layout_height="match_parent"
  34. android:layout_marginRight="30dp"
  35. android:layout_centerVertical="true"
  36. android:layout_alignParentRight="true"
  37. android:src="@mipmap/hnyy_kefu"
  38. android:background="@color/hnyy_transparent"
  39. />
  40. </RelativeLayout>
  41. <RelativeLayout
  42. android:layout_width="300dp"
  43. android:layout_height="wrap_content"
  44. android:layout_gravity="center_horizontal">
  45. <EditText
  46. android:id="@+id/et_user_phone"
  47. android:layout_width="match_parent"
  48. android:layout_height="40dp"
  49. android:background="@drawable/hnyy_edittext_bg"
  50. android:hint="@string/hnyy_input_phone_number"
  51. android:textColorHint="@color/hnyy_text_hint_color"
  52. android:paddingLeft="10dp"
  53. android:textSize="16sp"
  54. android:maxLength="20"
  55. android:digits="0123456789"
  56. android:layout_centerHorizontal="true"
  57. android:textColor="@color/hnyy_text_black"
  58. />
  59. <EditText
  60. android:id="@+id/et_user_code"
  61. android:layout_width="match_parent"
  62. android:layout_height="40dp"
  63. android:layout_marginTop="11dp"
  64. android:background="@drawable/hnyy_edittext_bg"
  65. android:hint="@string/hnyy_input_code"
  66. android:textColorHint="@color/hnyy_text_hint_color"
  67. android:paddingLeft="10dp"
  68. android:textSize="16sp"
  69. android:maxLength="10"
  70. android:digits="0123456789"
  71. android:layout_below="@id/et_user_phone"
  72. android:layout_alignLeft="@id/et_user_phone"
  73. android:textColor="@color/hnyy_text_black"
  74. />
  75. <View
  76. android:layout_width="1dp"
  77. android:layout_height="20dp"
  78. android:layout_marginTop="21dp"
  79. android:background="@color/hnyy_text_hint_color"
  80. android:layout_toLeftOf="@id/btn_get_code"
  81. android:layout_below="@id/et_user_phone"
  82. />
  83. <Button
  84. android:id="@+id/btn_get_code"
  85. android:layout_width="110dp"
  86. android:layout_height="40dp"
  87. android:layout_marginTop="10dp"
  88. android:background="@null"
  89. android:textColor="@color/hnyy_text_cyan_color"
  90. android:textSize="16sp"
  91. android:text="@string/hnyy_get_phone_code"
  92. android:gravity="center"
  93. android:layout_below="@id/et_user_phone"
  94. android:layout_alignRight="@id/et_user_phone"
  95. />
  96. <EditText
  97. android:id="@+id/et_user_pwd"
  98. android:layout_width="match_parent"
  99. android:layout_height="40dp"
  100. android:background="@drawable/hnyy_edittext_bg"
  101. android:textColorHint="@color/hnyy_text_hint_color"
  102. android:hint="@string/hnyy_input_new_pwd"
  103. android:paddingLeft="12dp"
  104. android:textSize="16sp"
  105. android:maxLength="20"
  106. android:digits="0123456789abcdefghijgklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
  107. android:layout_centerHorizontal="true"
  108. android:layout_marginTop="11dp"
  109. android:layout_below="@id/et_user_code"
  110. android:layout_alignLeft="@id/et_user_code"
  111. android:inputType="textPassword"
  112. android:textColor="@color/hnyy_text_black"
  113. />
  114. <Button
  115. android:id="@+id/reg_compete_btn"
  116. android:layout_width="match_parent"
  117. android:layout_height="40dp"
  118. android:layout_centerHorizontal="true"
  119. android:layout_gravity="center_horizontal"
  120. android:background="@drawable/hnyy_login_button_style"
  121. android:text="@string/hnyy_find_pwd_phone"
  122. android:textSize="16sp"
  123. android:textColor="@color/hnyy_white"
  124. android:minHeight="1dp"
  125. android:minWidth="1dp"
  126. android:gravity="center"
  127. android:layout_below="@id/et_user_pwd"
  128. android:layout_marginTop="11dp"
  129. />
  130. <TextView
  131. android:id="@+id/tv_tip_1"
  132. android:layout_marginTop="8dp"
  133. android:layout_below="@id/reg_compete_btn"
  134. android:layout_width="wrap_content"
  135. android:layout_height="20dp"
  136. android:gravity="center"
  137. android:layout_marginLeft="40dp"
  138. android:text="@string/hnyy_forget_pwd_tip"
  139. android:textColor="@color/hnyy_text_black"
  140. />
  141. <TextView
  142. android:id="@+id/tv_tip_2"
  143. android:layout_marginTop="8dp"
  144. android:layout_below="@id/reg_compete_btn"
  145. android:layout_width="wrap_content"
  146. android:layout_height="20dp"
  147. android:gravity="center"
  148. android:text="@string/hnyy_contact_tip"
  149. android:textColor="@color/hnyy_font_red_color"
  150. android:layout_toRightOf="@id/tv_tip_1"
  151. android:clickable="true"
  152. />
  153. <TextView
  154. android:layout_marginTop="8dp"
  155. android:layout_below="@id/reg_compete_btn"
  156. android:layout_width="wrap_content"
  157. android:layout_height="20dp"
  158. android:gravity="center"
  159. android:text="@string/hnyy_get_back_tip"
  160. android:layout_toRightOf="@id/tv_tip_2"
  161. android:textColor="@color/hnyy_text_black"
  162. />
  163. </RelativeLayout>
  164. </LinearLayout>