tysdkn_phone_registe_dialog.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="330dp"
  4. android:layout_height="wrap_content"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_gravity="center"
  7. android:orientation="vertical">
  8. <LinearLayout
  9. android:id="@+id/tysdkn_reg_dilog_root"
  10. android:layout_width="330dp"
  11. android:layout_height="wrap_content"
  12. android:background="@drawable/tysdkn_edit_two_bg"
  13. android:orientation="vertical"
  14. >
  15. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:orientation="horizontal">
  19. <LinearLayout
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_marginTop="15dp"
  23. android:orientation="horizontal"
  24. android:paddingLeft="18dp">
  25. <ImageView
  26. android:layout_width="30dp"
  27. android:layout_height="30dp"
  28. android:background="@drawable/tysdkn_login_title" />
  29. <TextView
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_marginLeft="12dp"
  33. android:gravity="center"
  34. android:text="天宇游戏"
  35. android:textColor="#111111"
  36. android:textSize="19sp" />
  37. </LinearLayout>
  38. <View
  39. android:layout_width="0.5dp"
  40. android:layout_height="18dp"
  41. android:layout_centerHorizontal="true"
  42. android:layout_marginTop="20dp"
  43. android:background="#d8d8d8" />
  44. <TextView
  45. android:layout_marginTop="15dp"
  46. android:layout_alignParentRight="true"
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:layout_marginRight="30dp"
  50. android:gravity="center"
  51. android:text="用户注册"
  52. android:textColor="#4BC1FF"
  53. android:textSize="19dp" />
  54. </RelativeLayout>
  55. <RelativeLayout
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_marginLeft="18dp"
  59. android:layout_marginRight="18dp"
  60. android:layout_marginTop="10dp">
  61. <LinearLayout
  62. android:layout_width="match_parent"
  63. android:layout_height="wrap_content"
  64. android:layout_marginBottom="10dp"
  65. android:layout_marginTop="15dp"
  66. android:orientation="horizontal"
  67. android:visibility="gone">
  68. <ImageView
  69. android:layout_width="0dp"
  70. android:layout_height="30dp"
  71. android:layout_marginTop="10dp"
  72. android:layout_weight="1"
  73. android:src="@drawable/tysdkn_logo_l" />
  74. <View
  75. android:layout_width="1dp"
  76. android:layout_height="30dp"
  77. android:layout_marginTop="10dp"
  78. android:background="#d8d8d8" />
  79. <TextView
  80. android:id="@+id/tysdkn_regist_title"
  81. android:layout_width="0dp"
  82. android:layout_height="40dp"
  83. android:layout_marginTop="5dp"
  84. android:layout_weight="1.0"
  85. android:gravity="center"
  86. android:text="手机注册"
  87. android:textColor="#4c6791"
  88. android:textSize="18dp" />
  89. </LinearLayout>
  90. <LinearLayout
  91. android:layout_width="match_parent"
  92. android:layout_height="wrap_content"
  93. android:orientation="vertical">
  94. <LinearLayout
  95. android:layout_width="match_parent"
  96. android:layout_height="35dp"
  97. android:background="@drawable/tysdkn_edit_input_bg"
  98. android:gravity="center"
  99. android:orientation="horizontal">
  100. <ImageView
  101. android:layout_width="17dp"
  102. android:layout_height="17dp"
  103. android:layout_marginLeft="13dp"
  104. android:layout_marginRight="13dp"
  105. android:background="@drawable/tysdkn_account_icon" />
  106. <EditText
  107. android:id="@+id/tysdkn_reg_dilog_input1"
  108. android:layout_width="0dp"
  109. android:layout_height="35dp"
  110. android:layout_weight="1"
  111. android:background="@null"
  112. android:hint="输入用户名/手机号码"
  113. android:paddingLeft="5dp"
  114. android:digits="0123456789abcdefghijklmnopqrstuvwxyz"
  115. android:paddingRight="30dp"
  116. android:selectAllOnFocus="true"
  117. android:singleLine="true"
  118. android:textColor="#000000"
  119. android:textColorHint="#c8c8c8"
  120. android:textSize="14dp" />
  121. <ImageView
  122. android:id="@+id/tysdkn_regist_username_s"
  123. android:layout_width="14dp"
  124. android:layout_height="8dp"
  125. android:layout_gravity="center_vertical"
  126. android:visibility="gone"
  127. android:layout_marginRight="13dp"
  128. android:background="@drawable/tysdkn_xs_login_up"
  129. android:focusable="true"
  130. android:paddingRight="10dp"
  131. android:scaleType="center" />
  132. </LinearLayout>
  133. <LinearLayout
  134. android:layout_width="match_parent"
  135. android:layout_height="35dp"
  136. android:layout_marginTop="10dp"
  137. android:background="@drawable/tysdkn_edit_input_bg"
  138. android:gravity="center"
  139. android:orientation="horizontal">
  140. <ImageView
  141. android:layout_width="18dp"
  142. android:layout_height="18dp"
  143. android:layout_marginLeft="13dp"
  144. android:layout_marginRight="13dp"
  145. android:background="@drawable/tysdkn_login_password" />
  146. <EditText
  147. android:id="@+id/tysdkn_reg_dilog_input2"
  148. android:layout_width="0dp"
  149. android:layout_height="35dp"
  150. android:layout_weight="1"
  151. android:background="@null"
  152. android:hint="请输入密码"
  153. android:paddingLeft="5dp"
  154. android:paddingRight="30dp"
  155. android:password="true"
  156. android:digits="0123456789abcdefghijklmnopqrstuvwxyz"
  157. android:selectAllOnFocus="true"
  158. android:singleLine="true"
  159. android:textColor="#000000"
  160. android:textColorHint="#c8c8c8"
  161. android:textSize="14dp" />
  162. <ImageView
  163. android:id="@+id/tysdkn_regist_pass_show"
  164. android:layout_width="18dp"
  165. android:layout_height="11dp"
  166. android:layout_gravity="center"
  167. android:layout_marginRight="10dp"
  168. android:background="@drawable/tysdkn_login_password_select"
  169. android:paddingRight="10dp" />
  170. </LinearLayout>
  171. <LinearLayout
  172. android:id="@+id/tysdkn_dialog_regist_sms_root"
  173. android:layout_width="match_parent"
  174. android:layout_height="35dp"
  175. android:visibility="gone"
  176. tools:visibility="visible"
  177. android:layout_marginTop="10dp"
  178. android:background="@drawable/tysdkn_edit_bg_1"
  179. android:orientation="horizontal">
  180. <EditText
  181. android:id="@+id/tysdkn_reg_dilog_input3"
  182. android:layout_width="0dp"
  183. android:layout_height="35dp"
  184. android:layout_marginLeft="17dp"
  185. android:layout_weight="1"
  186. android:background="@null"
  187. android:hint="请输入验证码"
  188. android:paddingLeft="5dp"
  189. android:paddingRight="85dp"
  190. android:selectAllOnFocus="true"
  191. android:singleLine="true"
  192. android:textColor="#818181"
  193. android:textColorHint="#c8c8c8"
  194. android:textSize="14dp" />
  195. <TextView
  196. android:id="@+id/tysdkn_reg_dilog_send_sms"
  197. android:layout_width="96dp"
  198. android:layout_height="match_parent"
  199. android:layout_alignParentRight="true"
  200. android:background="@drawable/tysdkn_btn_stroke3"
  201. android:gravity="center"
  202. android:text="获取验证码"
  203. android:textColor="#FFFFFF"
  204. android:textSize="14dp" />
  205. </LinearLayout>
  206. </LinearLayout>
  207. </RelativeLayout>
  208. <TextView
  209. android:id="@+id/tysdkn_reg_dilog_commit"
  210. android:layout_width="match_parent"
  211. android:layout_height="40dp"
  212. android:layout_marginLeft="18dp"
  213. android:layout_marginRight="18dp"
  214. android:layout_marginTop="12dp"
  215. android:background="@drawable/tysdkn_login_in_bt"
  216. android:gravity="center"
  217. android:text="立即注册"
  218. android:textColor="@android:color/white"
  219. android:textSize="18sp" />
  220. <LinearLayout
  221. android:orientation="horizontal"
  222. android:layout_width="match_parent"
  223. android:layout_height="wrap_content"
  224. android:layout_marginBottom="18dp"
  225. android:layout_marginLeft="18dp"
  226. android:layout_marginRight="18dp"
  227. android:layout_marginTop="15dp">
  228. <LinearLayout
  229. android:id="@+id/tysdkn_reg_dilog_retrun"
  230. android:layout_width="wrap_content"
  231. android:gravity="center_vertical"
  232. android:layout_height="wrap_content"
  233. >
  234. <ImageView
  235. android:layout_width="wrap_content"
  236. android:layout_height="wrap_content"
  237. android:layout_gravity="center_vertical"
  238. android:gravity="center"
  239. android:background="@drawable/tysdkn_arrow_left" />
  240. <TextView
  241. android:id="@+id/tysdkn_reg_back_login"
  242. android:layout_width="wrap_content"
  243. android:layout_marginLeft="5dp"
  244. android:layout_height="wrap_content"
  245. android:layout_gravity="center_vertical"
  246. android:layout_marginRight="5dp"
  247. android:gravity="center"
  248. android:text="返回登录"
  249. android:textColor="#2A2A2A"
  250. android:textSize="14dp" />
  251. </LinearLayout>
  252. <LinearLayout
  253. android:layout_width="0dp"
  254. android:layout_weight="1"
  255. android:layout_height="wrap_content"/>
  256. <LinearLayout
  257. android:id="@+id/tysdkn_dialog_regist_reginfo"
  258. android:layout_width="wrap_content"
  259. android:layout_height="wrap_content"
  260. android:orientation="horizontal">
  261. <TextView
  262. android:layout_width="wrap_content"
  263. android:layout_height="wrap_content"
  264. android:text="注册即表示同意"
  265. android:textColor="#666"
  266. android:textSize="12dp" />
  267. <TextView
  268. android:layout_width="wrap_content"
  269. android:layout_height="wrap_content"
  270. android:text="天宇游注册协议"
  271. android:textColor="#30B8FF"
  272. android:textSize="12dp" />
  273. </LinearLayout>
  274. <LinearLayout
  275. android:id="@+id/tysdkn_dialog_regist_account"
  276. android:layout_width="wrap_content"
  277. android:layout_height="wrap_content"
  278. android:visibility="gone"
  279. android:paddingBottom="5dp"
  280. >
  281. <ImageView
  282. android:layout_width="11dp"
  283. android:layout_height="12dp"
  284. android:layout_gravity="center_vertical"
  285. android:background="@drawable/tysdkn_telregister_us" />
  286. <TextView
  287. android:layout_width="wrap_content"
  288. android:layout_height="wrap_content"
  289. android:layout_gravity="center_vertical"
  290. android:layout_marginLeft="5dp"
  291. android:text="用户注册"
  292. android:textColor="#FF9105"
  293. android:textSize="12dp" />
  294. </LinearLayout>
  295. </LinearLayout>
  296. </LinearLayout>
  297. </LinearLayout>