custom_land_dialog.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:layout_gravity="center"
  6. android:background="@color/transparent"
  7. android:orientation="vertical">
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="0dp"
  11. android:layout_weight="3"
  12. android:orientation="vertical">
  13. <FrameLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="0dp"
  16. android:layout_weight="1">
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="match_parent"
  20. android:orientation="horizontal">
  21. <Space
  22. android:layout_width="0dp"
  23. android:layout_height="match_parent"
  24. android:layout_weight="1"></Space>
  25. <TextView
  26. android:id="@+id/custom_land_login_phone_title"
  27. android:layout_width="0dp"
  28. android:layout_height="match_parent"
  29. android:layout_gravity="center"
  30. android:layout_weight="10"
  31. android:gravity="center"
  32. android:text="登 录"
  33. android:textColor="#FF333333"
  34. android:textSize="16.67sp"
  35. android:textStyle="bold"></TextView>
  36. <LinearLayout
  37. android:id="@+id/login_phone_landscape_close"
  38. android:layout_width="0dp"
  39. android:layout_height="match_parent"
  40. android:layout_weight="1">
  41. <Space
  42. android:layout_width="0dp"
  43. android:layout_height="match_parent"
  44. android:layout_weight="0"></Space>
  45. <ImageView
  46. android:layout_width="0dp"
  47. android:layout_height="match_parent"
  48. android:layout_weight="1"
  49. android:scaleType="centerInside"
  50. android:src="@drawable/icon_close"></ImageView>
  51. <Space
  52. android:layout_width="0dp"
  53. android:layout_height="match_parent"
  54. android:layout_weight="2"></Space>
  55. </LinearLayout>
  56. </LinearLayout>
  57. </FrameLayout>
  58. <LinearLayout
  59. android:layout_width="match_parent"
  60. android:layout_height="0dp"
  61. android:layout_weight="2.5"
  62. android:orientation="vertical">
  63. <LinearLayout
  64. android:layout_width="match_parent"
  65. android:layout_height="0dp"
  66. android:layout_weight="1"
  67. android:orientation="horizontal">
  68. <Space
  69. android:layout_width="0dp"
  70. android:layout_height="match_parent"
  71. android:layout_weight="1"></Space>
  72. <LinearLayout
  73. android:id="@+id/custom_land_login_phone_frame"
  74. android:layout_width="0dp"
  75. android:layout_height="match_parent"
  76. android:layout_weight="5"
  77. android:background="@color/white"
  78. android:orientation="vertical"
  79. android:visibility="invisible">
  80. <LinearLayout
  81. android:layout_width="match_parent"
  82. android:layout_height="0dp"
  83. android:layout_weight="0.5"
  84. android:orientation="vertical">
  85. <LinearLayout
  86. android:layout_width="match_parent"
  87. android:layout_height="0dp"
  88. android:layout_weight="1"
  89. android:orientation="horizontal">
  90. <EditText
  91. android:id="@+id/phonenumber_login_number"
  92. android:layout_width="0dp"
  93. android:layout_height="match_parent"
  94. android:layout_weight="2"
  95. android:background="@null"
  96. android:gravity="bottom"
  97. android:hint="输入手机号码"
  98. android:imeOptions="flagNoExtractUi"
  99. android:inputType="number"
  100. android:maxLength="11"
  101. android:paddingLeft="5dp"
  102. android:paddingBottom="10dp"
  103. android:textColor="#FF666666"
  104. android:textColorHint="#FF666666"
  105. android:textSize="13sp"></EditText>
  106. <LinearLayout
  107. android:layout_width="0dp"
  108. android:layout_height="match_parent"
  109. android:layout_weight="0.8"
  110. android:orientation="vertical">
  111. <Space
  112. android:layout_width="match_parent"
  113. android:layout_height="0dp"
  114. android:layout_weight="1.2"></Space>
  115. <TextView
  116. android:id="@+id/phonenumber_getverifcation"
  117. android:layout_width="match_parent"
  118. android:layout_height="0dp"
  119. android:layout_gravity="center|right"
  120. android:layout_weight="2"
  121. android:background="@drawable/shape_login_phonenumber_getverification"
  122. android:gravity="center"
  123. android:paddingLeft="5dp"
  124. android:paddingRight="5dp"
  125. android:text="获取验证码"
  126. android:textColor="#FFA301"
  127. android:textSize="13sp"></TextView>
  128. <Space
  129. android:layout_width="match_parent"
  130. android:layout_height="0dp"
  131. android:layout_weight="0.3"></Space>
  132. </LinearLayout>
  133. </LinearLayout>
  134. <FrameLayout
  135. android:layout_width="match_parent"
  136. android:layout_height="0.5dp"
  137. android:background="#999999"></FrameLayout>
  138. </LinearLayout>
  139. <LinearLayout
  140. android:layout_width="match_parent"
  141. android:layout_height="0dp"
  142. android:layout_weight="0.5"
  143. android:orientation="vertical">
  144. <LinearLayout
  145. android:layout_width="match_parent"
  146. android:layout_height="0dp"
  147. android:layout_weight="1"
  148. android:orientation="horizontal">
  149. <EditText
  150. android:id="@+id/phonenumber_login_ver"
  151. android:layout_width="0dp"
  152. android:layout_height="match_parent"
  153. android:layout_weight="2"
  154. android:background="@null"
  155. android:gravity="bottom"
  156. android:hint="输入验证码"
  157. android:imeOptions="flagNoExtractUi"
  158. android:inputType="number"
  159. android:maxLength="4"
  160. android:paddingLeft="5dp"
  161. android:paddingBottom="10dp"
  162. android:textColor="#FF666666"
  163. android:textColorHint="#FF666666"
  164. android:textSize="13sp"></EditText>
  165. <ImageView
  166. android:layout_width="0dp"
  167. android:layout_height="match_parent"
  168. android:layout_marginLeft="-20dp"
  169. android:layout_weight="1"
  170. android:background="@null"
  171. android:clickable="false"
  172. android:orientation="vertical">
  173. </ImageView>
  174. </LinearLayout>
  175. <FrameLayout
  176. android:layout_width="match_parent"
  177. android:layout_height="0.5dp"
  178. android:background="#999999"></FrameLayout>
  179. </LinearLayout>
  180. </LinearLayout>
  181. <Space
  182. android:layout_width="0dp"
  183. android:layout_height="match_parent"
  184. android:layout_weight="1"></Space>
  185. </LinearLayout>
  186. <FrameLayout
  187. android:layout_width="match_parent"
  188. android:layout_height="0dp"
  189. android:layout_weight="0.5">
  190. <TextView
  191. android:id="@+id/changePhoneNumLogin"
  192. android:layout_width="wrap_content"
  193. android:layout_height="wrap_content"
  194. android:layout_gravity="bottom|center"
  195. android:gravity="center|bottom"
  196. android:text="切换账号"
  197. android:textColor="#CC000000"
  198. android:textSize="13.33sp"></TextView>
  199. </FrameLayout>
  200. </LinearLayout>
  201. </LinearLayout>
  202. <!-- 没有其他方式登录,隐藏其他方式登录-->
  203. <LinearLayout
  204. android:layout_width="match_parent"
  205. android:layout_height="0dp"
  206. android:layout_weight="1"
  207. android:gravity="bottom"
  208. android:orientation="vertical"
  209. android:visibility="gone">
  210. <TextView
  211. android:layout_width="wrap_content"
  212. android:layout_height="wrap_content"
  213. android:layout_gravity="center"
  214. android:text="其他账号登录"
  215. android:textColor="#FF666666"
  216. android:textSize="10sp"></TextView>
  217. <ImageView
  218. android:layout_width="28.83dp"
  219. android:layout_height="28.83dp"
  220. android:layout_gravity="center"
  221. android:layout_marginTop="10dp"
  222. android:src="@drawable/icon"></ImageView>
  223. </LinearLayout>
  224. <Space
  225. android:layout_width="wrap_content"
  226. android:layout_height="0dp"
  227. android:layout_weight="1"></Space>
  228. </LinearLayout>