xunqu_fragment_sign_up.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="wrap_content"
  5. android:layout_height="wrap_content">
  6. <LinearLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:orientation="vertical" >
  10. <RelativeLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="40dp"
  13. android:layout_marginLeft="20dp"
  14. android:layout_marginRight="20dp"
  15. android:layout_marginTop="10dp"
  16. android:background="@drawable/xunqu_login_etx_bg" >
  17. <ImageView
  18. android:id="@+id/xunqu_iv_user_name"
  19. android:layout_width="18dp"
  20. android:layout_height="18dp"
  21. android:layout_alignParentLeft="true"
  22. android:layout_centerVertical="true"
  23. android:layout_marginLeft="10dp"
  24. android:src="@drawable/xunqu_icon_user" />
  25. <EditText
  26. android:id="@+id/xunqu_etx_user_name"
  27. android:layout_width="wrap_content"
  28. android:layout_height="30dp"
  29. android:layout_centerVertical="true"
  30. android:layout_marginLeft="10dp"
  31. android:layout_toLeftOf="@+id/xunqu_btn_refresh"
  32. android:layout_toRightOf="@+id/xunqu_iv_user_name"
  33. android:background="#00000000"
  34. android:ems="10"
  35. android:hint="请输入用户名"
  36. android:textColor="#1790C8"
  37. android:textColorHint="#D0D0D0"
  38. android:layout_marginRight="10dp"
  39. android:singleLine="true"
  40. android:maxLength="20"
  41. android:textSize="14dp" >
  42. </EditText>
  43. <Button
  44. android:id="@+id/xunqu_btn_refresh"
  45. android:layout_width="18dp"
  46. android:layout_height="18dp"
  47. android:layout_alignParentRight="true"
  48. android:layout_centerVertical="true"
  49. android:layout_marginRight="10dp"
  50. android:background="@drawable/xunqu_icon_refresh" />
  51. </RelativeLayout>
  52. <RelativeLayout
  53. android:layout_width="match_parent"
  54. android:layout_height="40dp"
  55. android:layout_marginLeft="20dp"
  56. android:layout_marginRight="20dp"
  57. android:layout_marginTop="10dp"
  58. android:background="@drawable/xunqu_login_etx_bg" >
  59. <ImageView
  60. android:id="@+id/xunqu_iv_user_pass"
  61. android:layout_width="18dp"
  62. android:layout_height="18dp"
  63. android:layout_alignParentLeft="true"
  64. android:layout_centerVertical="true"
  65. android:layout_marginLeft="10dp"
  66. android:src="@drawable/xunqu_icon_pass" />
  67. <EditText
  68. android:id="@+id/xunqu_etx_user_pass"
  69. android:layout_width="wrap_content"
  70. android:layout_height="30dp"
  71. android:layout_centerVertical="true"
  72. android:layout_marginLeft="10dp"
  73. android:layout_toLeftOf="@+id/xunqu_btn_close"
  74. android:layout_toRightOf="@+id/xunqu_iv_user_pass"
  75. android:background="#00000000"
  76. android:ems="10"
  77. android:hint="请输入密码"
  78. android:textColor="#1790C8"
  79. android:textColorHint="#D0D0D0"
  80. android:layout_marginRight="10dp"
  81. android:maxLength="20"
  82. android:textSize="14dp" >
  83. </EditText>
  84. <Button
  85. android:id="@+id/xunqu_btn_close"
  86. android:layout_width="18dp"
  87. android:layout_height="18dp"
  88. android:layout_alignParentRight="true"
  89. android:layout_centerVertical="true"
  90. android:layout_marginRight="10dp"
  91. android:visibility="invisible"
  92. android:background="@drawable/xunqu_icon_close" />
  93. </RelativeLayout>
  94. <RelativeLayout
  95. android:layout_width="match_parent"
  96. android:layout_height="30dp"
  97. android:layout_marginLeft="20dp"
  98. android:layout_marginRight="20dp"
  99. android:layout_marginTop="5dp">
  100. <CheckBox
  101. android:id="@+id/xunqu_checkbox_protocol"
  102. android:layout_width="15dp"
  103. android:layout_height="15dp"
  104. android:layout_alignParentLeft="true"
  105. android:layout_centerVertical="true"
  106. android:layout_marginLeft="10dp"
  107. android:background="@drawable/xunqu_user_checkbox_style"
  108. android:checked="true"
  109. android:button="@null" />
  110. <TextView
  111. android:id="@+id/xunqu_tv_protocol"
  112. android:layout_width="wrap_content"
  113. android:layout_height="wrap_content"
  114. android:layout_centerVertical="true"
  115. android:layout_marginLeft="10dp"
  116. android:layout_toRightOf="@+id/xunqu_checkbox_protocol"
  117. android:text="用户协议"
  118. android:textColor="#8C8C8C"
  119. android:textSize="13dp" />
  120. <TextView
  121. android:id="@+id/textView2"
  122. android:layout_width="wrap_content"
  123. android:layout_height="wrap_content"
  124. android:layout_alignParentRight="true"
  125. android:layout_centerVertical="true"
  126. android:layout_marginRight="10dp"
  127. android:textColor="#FF0000"
  128. android:textSize="13dp"
  129. android:text="◎ 账号密码 可手动修改" />
  130. </RelativeLayout>
  131. </LinearLayout>
  132. <Button
  133. android:id="@+id/xunqu_btn_ok"
  134. android:layout_width="match_parent"
  135. android:layout_height="40dp"
  136. android:layout_marginTop="5dp"
  137. android:layout_marginBottom="10dp"
  138. android:layout_marginLeft="20dp"
  139. android:layout_marginRight="20dp"
  140. android:background="@drawable/xunqu_button_green"
  141. android:text="注册并登录"
  142. android:textSize="17dp"
  143. android:textColor="#FFFFFF" />
  144. <RelativeLayout
  145. android:layout_width="match_parent"
  146. android:layout_height="match_parent"
  147. android:layout_marginBottom="10dp"
  148. android:layout_marginLeft="20dp"
  149. android:layout_marginRight="20dp" >
  150. <TextView
  151. android:id="@+id/xunqu_btn_user_login"
  152. android:layout_width="wrap_content"
  153. android:layout_height="wrap_content"
  154. android:layout_alignBaseline="@+id/xunqu_btn_tel_signup"
  155. android:layout_alignBottom="@+id/xunqu_btn_tel_signup"
  156. android:layout_alignParentRight="true"
  157. android:layout_marginRight="20dp"
  158. android:text="账号登录"
  159. android:textColor="@drawable/xunqu_textview_login_text"
  160. android:textSize="15dp" />
  161. <TextView
  162. android:id="@+id/xunqu_btn_tel_signup"
  163. android:layout_width="wrap_content"
  164. android:layout_height="wrap_content"
  165. android:layout_alignParentLeft="true"
  166. android:layout_alignParentTop="true"
  167. android:layout_marginLeft="20dp"
  168. android:text="手机注册"
  169. android:textColor="@drawable/xunqu_textview_login_text"
  170. android:textSize="15dp" />
  171. </RelativeLayout>
  172. </LinearLayout>