jmlogin_main.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/linear"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:gravity="center"
  7. android:background="@drawable/jmloginb"
  8. android:orientation="vertical">
  9. <LinearLayout
  10. android:id="@+id/content_view"
  11. android:layout_width="@dimen/jm_login_width"
  12. android:layout_height="@dimen/jm_login_height_old"
  13. android:orientation="vertical">
  14. <RelativeLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="80dp"
  17. android:orientation="vertical">
  18. <ImageView
  19. android:layout_width="60dp"
  20. android:layout_height="60dp"
  21. android:layout_centerVertical="true"
  22. android:layout_marginLeft="25dp"
  23. android:layout_marginTop="15dp"
  24. android:background="@drawable/jm_logo"/>
  25. <TextView
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_centerHorizontal="true"
  29. android:layout_centerVertical="true"
  30. android:text="@string/moblie_login_title"
  31. android:textColor="@color/jmfont_black"
  32. android:textSize="16sp"/>
  33. <ImageView
  34. android:id="@+id/ivkefu"
  35. android:layout_width="25dp"
  36. android:layout_height="25dp"
  37. android:layout_alignParentRight="true"
  38. android:layout_centerVertical="true"
  39. android:layout_marginRight="15dp"
  40. android:background="@drawable/jm_kefu"/>
  41. <TextView
  42. android:id="@+id/tvversion"
  43. android:layout_below="@+id/ivkefu"
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:text="v1.0.1"
  47. android:layout_alignParentRight="true"
  48. android:textColor="#d5dad3"
  49. android:textSize="10sp"
  50. android:layout_marginRight="15dp"/>
  51. </RelativeLayout>
  52. <LinearLayout
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:layout_gravity="center"
  56. android:layout_marginLeft="15dp"
  57. android:layout_marginRight="15dp"
  58. android:orientation="vertical">
  59. <RelativeLayout
  60. android:layout_width="wrap_content"
  61. android:layout_height="34dp">
  62. <RelativeLayout
  63. android:id="@+id/iphoe_bg"
  64. android:layout_width="60dp"
  65. android:layout_height="wrap_content"
  66. android:layout_centerVertical="true"
  67. android:layout_margin="5dp">
  68. <TextView
  69. android:id="@+id/mobileidtv"
  70. android:layout_width="wrap_content"
  71. android:layout_height="wrap_content"
  72. android:layout_centerVertical="true"
  73. android:text="+86"
  74. android:textColor="@color/jmfont_black"
  75. android:textSize="16sp"/>
  76. <ImageView
  77. android:id="@+id/ivpull"
  78. android:layout_width="wrap_content"
  79. android:layout_height="wrap_content"
  80. android:layout_centerVertical="true"
  81. android:layout_marginLeft="10dp"
  82. android:layout_toRightOf="@+id/mobileidtv"
  83. android:background="@drawable/jm_iphone"/>
  84. </RelativeLayout>
  85. <EditText
  86. android:id="@+id/edit_iphone"
  87. android:layout_width="match_parent"
  88. android:layout_height="wrap_content"
  89. android:layout_centerHorizontal="true"
  90. android:layout_centerVertical="true"
  91. android:layout_marginLeft="10dp"
  92. android:layout_toRightOf="@+id/iphoe_bg"
  93. android:background="@null"
  94. android:gravity="center_vertical"
  95. android:hint="@string/moblie_edit_hint"
  96. android:imeOptions="actionNext"
  97. android:inputType="number"
  98. android:maxLength="11"
  99. android:nextFocusForward="@+id/edit_code"
  100. android:singleLine="true"
  101. android:textColor="#000000"
  102. android:textColorHint="#d5dad3"
  103. android:textSize="15sp"/>
  104. </RelativeLayout>
  105. <View
  106. android:layout_width="match_parent"
  107. android:layout_height="1dp"
  108. android:layout_marginLeft="5dp"
  109. android:layout_marginRight="5dp"
  110. android:layout_marginTop="5dp"
  111. android:alpha="0.5"
  112. android:background="#d6d6d6"/>
  113. </LinearLayout>
  114. <LinearLayout
  115. android:layout_width="match_parent"
  116. android:layout_height="wrap_content"
  117. android:layout_gravity="center"
  118. android:layout_marginLeft="15dp"
  119. android:layout_marginRight="15dp"
  120. android:layout_marginTop="10dp"
  121. android:orientation="vertical">
  122. <RelativeLayout
  123. android:layout_width="wrap_content"
  124. android:layout_height="34dp">
  125. <RelativeLayout
  126. android:id="@+id/code_bg"
  127. android:layout_width="60dp"
  128. android:layout_height="wrap_content"
  129. android:layout_centerVertical="true"
  130. android:layout_margin="5dp">
  131. <TextView
  132. android:layout_width="wrap_content"
  133. android:layout_height="wrap_content"
  134. android:layout_centerVertical="true"
  135. android:text="@string/moblie_text_msg"
  136. android:textColor="@color/jmfont_black"
  137. android:textSize="16sp"/>
  138. </RelativeLayout>
  139. <EditText
  140. android:id="@+id/edit_code"
  141. android:layout_width="match_parent"
  142. android:layout_height="wrap_content"
  143. android:layout_centerHorizontal="true"
  144. android:layout_centerVertical="true"
  145. android:layout_marginLeft="10dp"
  146. android:layout_toRightOf="@+id/code_bg"
  147. android:background="@null"
  148. android:gravity="center_vertical"
  149. android:hint="@string/moblie_edit_code_hint"
  150. android:imeOptions="actionDone"
  151. android:inputType="number"
  152. android:maxLength="15"
  153. android:singleLine="true"
  154. android:textColor="#000000"
  155. android:textColorHint="#d5dad3"
  156. android:textSize="15sp"></EditText>
  157. <Button
  158. android:id="@+id/ibcode"
  159. android:layout_width="74dp"
  160. android:layout_height="35dp"
  161. android:layout_alignParentRight="true"
  162. android:layout_centerHorizontal="true"
  163. android:layout_margin="5dp"
  164. android:background="@drawable/jm_blues_codebtn_style"
  165. android:text="@string/moblie_bt_code"
  166. android:textColor="@color/jmfont_white"
  167. android:textSize="10sp"/>
  168. </RelativeLayout>
  169. <View
  170. android:layout_width="match_parent"
  171. android:layout_height="1dp"
  172. android:layout_marginLeft="5dp"
  173. android:layout_marginRight="5dp"
  174. android:layout_marginTop="5dp"
  175. android:alpha="0.5"
  176. android:background="#d6d6d6"/>
  177. </LinearLayout>
  178. <RelativeLayout
  179. android:layout_width="match_parent"
  180. android:layout_height="44dp"
  181. android:layout_marginLeft="25dp"
  182. android:layout_marginRight="25dp">
  183. <TextView
  184. android:id="@+id/tvforgot"
  185. android:layout_width="wrap_content"
  186. android:layout_height="wrap_content"
  187. android:layout_alignParentRight="true"
  188. android:layout_centerVertical="true"
  189. android:padding="5sp"
  190. android:visibility="invisible"
  191. android:text="@string/user_forgot_msg"
  192. android:textColor="@color/jmfont_gray"
  193. android:textSize="16sp"/>
  194. </RelativeLayout>
  195. <LinearLayout
  196. android:layout_width="match_parent"
  197. android:layout_height="wrap_content"
  198. android:layout_gravity="center"
  199. android:layout_marginLeft="15dp"
  200. android:layout_marginRight="15dp"
  201. android:orientation="vertical">
  202. <Button
  203. android:id="@+id/mobilebt"
  204. android:layout_width="match_parent"
  205. android:layout_height="46dp"
  206. android:background="@drawable/jmblues_btn_style"
  207. android:padding="5sp"
  208. android:text="@string/moblie_bt_login"
  209. android:textColor="@color/jmfont_white"
  210. android:textSize="18sp"/>
  211. <FrameLayout
  212. android:id="@+id/userlgbt"
  213. android:layout_width="match_parent"
  214. android:layout_height="46dp"
  215. android:layout_marginTop="13dp"
  216. android:background="@drawable/jm_cut_btn">
  217. <TextView
  218. android:layout_width="wrap_content"
  219. android:layout_height="wrap_content"
  220. android:layout_gravity="center"
  221. android:gravity="center"
  222. android:drawableLeft="@drawable/jm_cut"
  223. android:text="@string/moblie_bt_user"
  224. android:textColor="@color/jmfont_blues"
  225. android:textSize="18sp"/>
  226. </FrameLayout>
  227. <RelativeLayout
  228. android:layout_width="match_parent"
  229. android:layout_height="match_parent"
  230. android:layout_marginTop="25dp">
  231. <TextView
  232. android:layout_width="wrap_content"
  233. android:layout_height="wrap_content"
  234. android:layout_centerVertical="true"
  235. android:id="@+id/tvvistor"
  236. android:text="@string/moblie_text_visitor"
  237. android:textColor="@color/jmfont_gray"
  238. android:textSize="15sp"/>
  239. <TextView
  240. android:id="@+id/ivregister"
  241. android:layout_width="wrap_content"
  242. android:layout_height="wrap_content"
  243. android:layout_alignParentRight="true"
  244. android:layout_centerVertical="true"
  245. android:text="@string/moblie_text_register"
  246. android:textColor="@color/jmfont_gray"
  247. android:textSize="15sp"/>
  248. </RelativeLayout>
  249. </LinearLayout>
  250. </LinearLayout>
  251. </LinearLayout>