jmlogin_main.xml 13 KB

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