hnyy_account_login.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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. >
  8. <RelativeLayout
  9. android:id="@+id/rl1"
  10. android:layout_width="match_parent"
  11. android:layout_height="60dp"
  12. >
  13. <ImageButton
  14. android:id="@+id/close_btn"
  15. android:layout_width="26dp"
  16. android:layout_height="match_parent"
  17. android:layout_alignParentLeft="true"
  18. android:layout_marginLeft="30dp"
  19. android:background="@color/hnyy_transparent"
  20. android:src="@mipmap/hnyy_reback" />
  21. <TextView
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:text="@string/hnyy_account_login"
  25. android:textSize="19sp"
  26. android:layout_centerInParent="true"
  27. android:textColor="@color/hnyy_edittext_bg_deep_gray"
  28. />
  29. <ImageButton
  30. android:id="@+id/btn_kefu"
  31. android:layout_width="wrap_content"
  32. android:layout_height="match_parent"
  33. android:layout_marginRight="30dp"
  34. android:layout_centerVertical="true"
  35. android:layout_alignParentRight="true"
  36. android:src="@mipmap/hnyy_kefu"
  37. android:background="@color/hnyy_transparent"
  38. />
  39. </RelativeLayout>
  40. <RelativeLayout
  41. android:id="@+id/ll1"
  42. android:layout_below="@+id/rl1"
  43. android:layout_width="300dp"
  44. android:layout_height="wrap_content"
  45. android:layout_centerInParent="true" >
  46. <EditText
  47. android:id="@+id/reg_account_edit"
  48. android:layout_width="match_parent"
  49. android:layout_height="40dp"
  50. android:background="@drawable/hnyy_edittext_bg"
  51. android:digits="0123456789abcdefghijgklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
  52. android:gravity="center_vertical"
  53. android:hint="@string/hnyy_input_your_account"
  54. android:maxLength="20"
  55. android:maxLines="1"
  56. android:paddingLeft="20dp"
  57. android:textColorHint="@color/hnyy_text_hint_color"
  58. android:textSize="14dp"
  59. android:textColor="@color/hnyy_text_black"/>
  60. <ImageView
  61. android:id="@+id/down_btn"
  62. android:layout_alignRight="@+id/reg_account_edit"
  63. android:layout_width="45dp"
  64. android:layout_height="40dp"
  65. android:src="@mipmap/hnyy_arrow_normal"
  66. android:padding="15dp"
  67. android:layout_marginRight="3dp"
  68. />
  69. <EditText
  70. android:id="@+id/reg_pwd_edit"
  71. android:layout_width="match_parent"
  72. android:layout_height="40dp"
  73. android:layout_below="@id/reg_account_edit"
  74. android:layout_marginTop="16dp"
  75. android:background="@drawable/hnyy_edittext_bg"
  76. android:digits="0123456789abcdefghijgklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
  77. android:gravity="center_vertical"
  78. android:hint="@string/hnyy_input_your_pwd"
  79. android:inputType="textPassword"
  80. android:maxLength="20"
  81. android:maxLines="1"
  82. android:paddingLeft="20dp"
  83. android:textColorHint="@color/hnyy_text_hint_color"
  84. android:textSize="14dp"
  85. android:textColor="@color/hnyy_text_black"/>
  86. <ImageView
  87. android:id="@+id/iv_show_pwd"
  88. android:layout_below="@id/reg_account_edit"
  89. android:layout_marginTop="15dp"
  90. android:layout_alignRight="@+id/reg_pwd_edit"
  91. android:layout_width="40dp"
  92. android:layout_height="40dp"
  93. android:src="@mipmap/hnyy_close_eye"
  94. android:padding="10dp"
  95. android:layout_marginRight="5dp"
  96. />
  97. <Button
  98. android:id="@+id/reg_compete_btn"
  99. android:layout_width="300dp"
  100. android:layout_height="40dp"
  101. android:layout_below="@id/iv_show_pwd"
  102. android:layout_marginTop="15dp"
  103. android:background="@drawable/hnyy_login_button_style"
  104. android:layout_centerHorizontal="true"
  105. android:text="@string/hnyy_login"
  106. android:textColor="@color/hnyy_white"
  107. android:textSize="16sp" />
  108. </RelativeLayout>
  109. <TextView
  110. android:id="@+id/tv_fofget_pwd"
  111. android:layout_marginTop="15dp"
  112. android:layout_width="wrap_content"
  113. android:layout_height="wrap_content"
  114. android:text="@string/hnyy_forget_pwd"
  115. android:textSize="16sp"
  116. android:textColor="@color/hnyy_text_cyan_color"
  117. android:layout_centerHorizontal="true"
  118. android:layout_below="@id/ll1"
  119. />
  120. <ListView
  121. android:layout_marginTop="100dp"
  122. android:layout_centerHorizontal="true"
  123. android:id="@+id/account_listview"
  124. android:layout_width="300dp"
  125. android:layout_height="160dp"
  126. android:divider="@null"
  127. android:visibility="gone"
  128. />
  129. <TextView
  130. android:id="@+id/list_text"
  131. android:layout_width="300dp"
  132. android:layout_height="50dp"
  133. android:gravity="center_vertical"
  134. android:layout_centerHorizontal="true"
  135. android:background="@drawable/hnyy_edittext_bg"
  136. android:paddingLeft="10dp"
  137. android:text="@string/hnyy_no_record"
  138. android:layout_marginTop="100dp"
  139. android:visibility="gone"
  140. android:textSize="18sp"
  141. android:textColor="@color/hnyy_text_black"
  142. />
  143. </RelativeLayout>