activity_login_phone_landscape.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/phonenumber_login_landscape_layout"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/translucent_background"
  7. android:orientation="vertical">
  8. <Space
  9. android:layout_width="match_parent"
  10. android:layout_height="0dp"
  11. android:layout_weight="1"></Space>
  12. <LinearLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="0dp"
  15. android:layout_weight="8"
  16. android:orientation="horizontal">
  17. <Space
  18. android:layout_width="0dp"
  19. android:layout_height="match_parent"
  20. android:layout_weight="2"></Space>
  21. <LinearLayout
  22. android:layout_width="0dp"
  23. android:layout_height="match_parent"
  24. android:layout_gravity="center"
  25. android:layout_weight="6"
  26. android:gravity="center">
  27. <LinearLayout
  28. android:id="@+id/phonenumber_login_l_frame"
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent"
  31. android:layout_gravity="center"
  32. android:background="@drawable/shape_login_phonenumber_landscape_bg"
  33. android:gravity="center"
  34. android:orientation="vertical">
  35. <Space
  36. android:layout_width="match_parent"
  37. android:layout_height="0dp"
  38. android:layout_weight="0.07"></Space>
  39. <FrameLayout
  40. android:layout_width="match_parent"
  41. android:layout_height="0dp"
  42. android:layout_weight="0.3">
  43. <LinearLayout
  44. android:layout_width="match_parent"
  45. android:layout_height="match_parent"
  46. android:orientation="horizontal">
  47. <Space
  48. android:layout_width="0dp"
  49. android:layout_height="match_parent"
  50. android:layout_weight="1"></Space>
  51. <TextView
  52. android:layout_width="0dp"
  53. android:layout_height="match_parent"
  54. android:layout_gravity="center"
  55. android:layout_weight="10"
  56. android:gravity="center"
  57. android:text="登录注册解锁更多精彩内容"
  58. android:textColor="#FF333333"
  59. android:textSize="16.67sp"
  60. android:textStyle="bold"></TextView>
  61. <LinearLayout
  62. android:id="@+id/login_phone_landscape_close"
  63. android:layout_width="0dp"
  64. android:layout_height="match_parent"
  65. android:layout_weight="1">
  66. <Space
  67. android:layout_width="0dp"
  68. android:layout_height="match_parent"
  69. android:layout_weight="0"></Space>
  70. <ImageView
  71. android:layout_width="0dp"
  72. android:layout_height="match_parent"
  73. android:layout_weight="1"
  74. android:scaleType="centerInside"
  75. android:src="@drawable/icon_close"></ImageView>
  76. <FrameLayout
  77. android:layout_width="0dp"
  78. android:layout_height="match_parent"
  79. android:layout_weight="2"></FrameLayout>
  80. </LinearLayout>
  81. </LinearLayout>
  82. </FrameLayout>
  83. <LinearLayout
  84. android:layout_width="match_parent"
  85. android:layout_height="0dp"
  86. android:layout_weight="1.5"
  87. android:orientation="vertical">
  88. <LinearLayout
  89. android:layout_width="match_parent"
  90. android:layout_height="0dp"
  91. android:layout_weight="1"
  92. android:orientation="horizontal">
  93. <Space
  94. android:layout_width="0dp"
  95. android:layout_height="match_parent"
  96. android:layout_weight="1"></Space>
  97. <LinearLayout
  98. android:id="@+id/custom_land_login_phone_frame"
  99. android:layout_width="0dp"
  100. android:layout_height="match_parent"
  101. android:layout_weight="5"
  102. android:background="@color/white"
  103. android:orientation="vertical">
  104. <LinearLayout
  105. android:layout_width="match_parent"
  106. android:layout_height="0dp"
  107. android:layout_weight="1"
  108. android:orientation="vertical">
  109. <LinearLayout
  110. android:layout_width="match_parent"
  111. android:layout_height="0dp"
  112. android:layout_weight="1"
  113. android:orientation="horizontal">
  114. <EditText
  115. android:id="@+id/phonenumber_login_number"
  116. android:layout_width="0dp"
  117. android:layout_height="match_parent"
  118. android:layout_weight="2.2"
  119. android:background="@null"
  120. android:gravity="bottom"
  121. android:hint="输入手机号码"
  122. android:imeOptions="flagNoExtractUi"
  123. android:inputType="number"
  124. android:maxLength="11"
  125. android:paddingLeft="10dp"
  126. android:paddingBottom="10dp"
  127. android:textColor="#FF666666"
  128. android:textColorHint="#FF666666"
  129. android:textSize="13sp"></EditText>
  130. <LinearLayout
  131. android:layout_width="0dp"
  132. android:layout_height="match_parent"
  133. android:layout_weight="1"
  134. android:orientation="vertical">
  135. <Space
  136. android:layout_width="match_parent"
  137. android:layout_height="0dp"
  138. android:layout_weight="1.5"></Space>
  139. <TextView
  140. android:id="@+id/phonenumber_getverifcation"
  141. android:layout_width="match_parent"
  142. android:layout_height="0dp"
  143. android:layout_gravity="center|right"
  144. android:layout_weight="1.5"
  145. android:background="@drawable/shape_login_phonenumber_getverification"
  146. android:gravity="center"
  147. android:paddingLeft="5dp"
  148. android:paddingRight="5dp"
  149. android:text="获取验证码"
  150. android:textColor="#FFA301"
  151. android:textSize="13sp"></TextView>
  152. <Space
  153. android:layout_width="match_parent"
  154. android:layout_height="0dp"
  155. android:layout_weight="0.3"></Space>
  156. </LinearLayout>
  157. </LinearLayout>
  158. <FrameLayout
  159. android:layout_width="match_parent"
  160. android:layout_height="0.5dp"
  161. android:background="#999999"></FrameLayout>
  162. </LinearLayout>
  163. <LinearLayout
  164. android:layout_width="match_parent"
  165. android:layout_height="0dp"
  166. android:layout_weight="1"
  167. android:orientation="vertical">
  168. <EditText
  169. android:id="@+id/phonenumber_login_ver"
  170. android:layout_width="match_parent"
  171. android:layout_height="0dp"
  172. android:layout_weight="1"
  173. android:background="@null"
  174. android:gravity="bottom"
  175. android:hint="输入验证码"
  176. android:imeOptions="flagNoExtractUi"
  177. android:inputType="number"
  178. android:maxLength="4"
  179. android:paddingLeft="10dp"
  180. android:paddingBottom="10dp"
  181. android:textColor="#FF666666"
  182. android:textColorHint="#FF666666"
  183. android:textSize="13sp"></EditText>
  184. <FrameLayout
  185. android:layout_width="match_parent"
  186. android:layout_height="0.5dp"
  187. android:background="#999999"></FrameLayout>
  188. </LinearLayout>
  189. </LinearLayout>
  190. <Space
  191. android:layout_width="0dp"
  192. android:layout_height="match_parent"
  193. android:layout_weight="1"></Space>
  194. </LinearLayout>
  195. <TextView
  196. android:id="@+id/changePhoneNumLogin"
  197. android:layout_width="match_parent"
  198. android:layout_height="0dp"
  199. android:layout_gravity="bottom"
  200. android:layout_weight="0.2"
  201. android:gravity="center"
  202. android:paddingLeft="5dp"
  203. android:paddingRight="5dp"
  204. android:text="一键登录"
  205. android:textColor="#CC000000"
  206. android:textSize="13.33sp"
  207. android:visibility="invisible"></TextView>
  208. </LinearLayout>
  209. <LinearLayout
  210. android:layout_width="match_parent"
  211. android:layout_height="0dp"
  212. android:layout_weight="0.6"
  213. android:gravity="center"
  214. android:orientation="vertical"
  215. android:visibility="visible">
  216. <TextView
  217. android:layout_width="wrap_content"
  218. android:layout_height="wrap_content"
  219. android:layout_gravity="center"
  220. android:text="其他账号登录"
  221. android:textColor="#FF666666"
  222. android:textSize="10sp"></TextView>
  223. <ImageView
  224. android:id="@+id/huawei_login"
  225. android:layout_width="28.83dp"
  226. android:layout_height="28.83dp"
  227. android:layout_gravity="center"
  228. android:layout_marginTop="10dp"
  229. android:src="@drawable/login_icon_huawei"></ImageView>
  230. </LinearLayout>
  231. <FrameLayout
  232. android:layout_width="match_parent"
  233. android:layout_height="0dp"
  234. android:layout_weight="0.6">
  235. <LinearLayout
  236. android:layout_width="match_parent"
  237. android:layout_height="match_parent"
  238. android:layout_gravity="center"
  239. android:gravity="center"
  240. android:orientation="horizontal">
  241. <CheckBox
  242. android:id="@+id/privacy_context_check"
  243. android:layout_width="wrap_content"
  244. android:layout_height="match_parent"
  245. android:layout_gravity="center|right"
  246. android:clickable="true"
  247. android:gravity="center_vertical"
  248. android:minHeight="?android:attr/listPreferredItemHeight"
  249. android:textColor="?android:attr/textColorAlertDialogListItem"
  250. android:textSize="10sp">
  251. </CheckBox>
  252. <TextView
  253. android:id="@+id/privacy_context"
  254. android:layout_width="wrap_content"
  255. android:layout_height="match_parent"
  256. android:layout_gravity="center"
  257. android:gravity="center_vertical|left"
  258. android:minHeight="?android:attr/listPreferredItemHeight"
  259. android:text="123123123123"
  260. android:textAppearance="?android:attr/textAppearanceLarge"
  261. android:textColor="?android:attr/textColorAlertDialogListItem"
  262. android:textSize="10sp">
  263. </TextView>
  264. </LinearLayout>
  265. </FrameLayout>
  266. </LinearLayout>
  267. </LinearLayout>
  268. <Space
  269. android:layout_width="0dp"
  270. android:layout_height="match_parent"
  271. android:layout_weight="2"></Space>
  272. </LinearLayout>
  273. <Space
  274. android:layout_width="match_parent"
  275. android:layout_height="0dp"
  276. android:layout_weight="1"></Space>
  277. </LinearLayout>