xunqu_fragment_tel_sign_up.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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_tel"
  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_close"
  32. android:layout_toRightOf="@+id/xunqu_iv_user_name"
  33. android:background="#00000000"
  34. android:ems="10"
  35. android:hint="请输入手机号"
  36. android:inputType="phone"
  37. android:maxLength="11"
  38. android:textColor="#1790C8"
  39. android:textColorHint="#D0D0D0"
  40. android:layout_marginRight="10dp"
  41. android:singleLine="true"
  42. android:textSize="14dp" >
  43. </EditText>
  44. <Button
  45. android:id="@+id/xunqu_btn_close"
  46. android:layout_width="18dp"
  47. android:layout_height="18dp"
  48. android:layout_alignParentRight="true"
  49. android:layout_centerVertical="true"
  50. android:layout_marginRight="10dp"
  51. android:visibility="invisible"
  52. android:background="@drawable/xunqu_icon_close" />
  53. </RelativeLayout>
  54. <RelativeLayout
  55. android:layout_width="match_parent"
  56. android:layout_height="40dp"
  57. android:layout_marginLeft="20dp"
  58. android:layout_marginRight="20dp"
  59. android:layout_marginTop="10dp"
  60. android:background="@drawable/xunqu_login_etx_bg" >
  61. <ImageView
  62. android:id="@+id/xunqu_iv_code"
  63. android:layout_width="18dp"
  64. android:layout_height="18dp"
  65. android:layout_alignParentLeft="true"
  66. android:layout_centerVertical="true"
  67. android:layout_marginLeft="10dp"
  68. android:src="@drawable/xunqu_icon_code" />
  69. <EditText
  70. android:id="@+id/xunqu_etx_code"
  71. android:layout_width="wrap_content"
  72. android:layout_height="30dp"
  73. android:layout_centerVertical="true"
  74. android:layout_marginLeft="10dp"
  75. android:layout_toLeftOf="@+id/xunqu_btn_code"
  76. android:layout_toRightOf="@+id/xunqu_iv_code"
  77. android:background="#00000000"
  78. android:ems="10"
  79. android:hint="请输入验证码"
  80. android:singleLine="true"
  81. android:textColor="#1790C8"
  82. android:textColorHint="#D0D0D0"
  83. android:layout_marginRight="10dp"
  84. android:maxLength="10"
  85. android:textSize="14dp" >
  86. </EditText>
  87. <Button
  88. android:id="@+id/xunqu_btn_code"
  89. android:layout_width="80dp"
  90. android:layout_height="match_parent"
  91. android:layout_alignParentRight="true"
  92. android:layout_centerVertical="true"
  93. android:background="@drawable/xunqu_button_blue"
  94. android:text="获取验证码"
  95. android:textSize="12dp"
  96. android:textColor="#FFFFFF" />
  97. </RelativeLayout>
  98. <RelativeLayout
  99. android:layout_width="match_parent"
  100. android:layout_height="30dp"
  101. android:layout_marginLeft="20dp"
  102. android:layout_marginRight="20dp"
  103. android:layout_marginTop="5dp">
  104. <CheckBox
  105. android:id="@+id/xunqu_checkbox_protocol"
  106. android:layout_width="15dp"
  107. android:layout_height="15dp"
  108. android:layout_alignParentLeft="true"
  109. android:layout_centerVertical="true"
  110. android:layout_marginLeft="10dp"
  111. android:background="@drawable/xunqu_user_checkbox_style"
  112. android:checked="true"
  113. android:button="@null" />
  114. <TextView
  115. android:id="@+id/xunqu_tv_protocol"
  116. android:layout_width="wrap_content"
  117. android:layout_height="wrap_content"
  118. android:layout_centerVertical="true"
  119. android:layout_marginLeft="10dp"
  120. android:layout_toRightOf="@+id/xunqu_checkbox_protocol"
  121. android:text="用户协议"
  122. android:textColor="#8C8C8C"
  123. android:textSize="13dp" />
  124. </RelativeLayout>
  125. </LinearLayout>
  126. <Button
  127. android:id="@+id/xunqu_btn_ok"
  128. android:layout_width="match_parent"
  129. android:layout_height="40dp"
  130. android:layout_marginTop="5dp"
  131. android:layout_marginBottom="10dp"
  132. android:layout_marginLeft="20dp"
  133. android:layout_marginRight="20dp"
  134. android:background="@drawable/xunqu_button_green"
  135. android:text="注册并登录"
  136. android:textSize="17dp"
  137. android:textColor="#FFFFFF" />
  138. <RelativeLayout
  139. android:layout_width="match_parent"
  140. android:layout_height="match_parent"
  141. android:layout_marginBottom="10dp"
  142. android:layout_marginLeft="20dp"
  143. android:layout_marginRight="20dp" >
  144. <TextView
  145. android:id="@+id/xunqu_btn_user_login"
  146. android:layout_width="wrap_content"
  147. android:layout_height="wrap_content"
  148. android:layout_alignBaseline="@+id/xunqu_btn_signup"
  149. android:layout_alignBottom="@+id/xunqu_btn_signup"
  150. android:layout_alignParentRight="true"
  151. android:layout_marginRight="20dp"
  152. android:text="账号登录"
  153. android:textColor="@drawable/xunqu_textview_login_text"
  154. android:textSize="15dp" />
  155. <TextView
  156. android:id="@+id/xunqu_btn_signup"
  157. android:layout_width="wrap_content"
  158. android:layout_height="wrap_content"
  159. android:layout_alignParentLeft="true"
  160. android:layout_alignParentTop="true"
  161. android:layout_marginLeft="20dp"
  162. android:text="账号注册"
  163. android:textColor="@drawable/xunqu_textview_login_text"
  164. android:textSize="15dp" />
  165. </RelativeLayout>
  166. </LinearLayout>