jmuserlogin.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  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:orientation="vertical"
  8. android:background="@drawable/jmloginb">
  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:src="@drawable/jm_logo"/>
  25. <TextView
  26. android:layout_width="wrap_content"
  27. android:layout_height="40dp"
  28. android:layout_centerHorizontal="true"
  29. android:layout_centerVertical="true"
  30. android:layout_margin="5dp"
  31. android:layout_marginTop="10dp"
  32. android:padding="5sp"
  33. android:text="@string/moblie_bt_user"
  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. android: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/usertv"
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:layout_centerVertical="true"
  75. android:text="@string/user_text_msg"
  76. android:textColor="@color/jmfont_black"
  77. android:textSize="18sp"/>
  78. <ImageView
  79. android:layout_width="20dp"
  80. android:layout_height="20dp"
  81. android:layout_centerVertical="true"
  82. android:layout_marginLeft="5dp"
  83. android:layout_toRightOf="@+id/usertv"
  84. android:src="@drawable/jm_userl"/>
  85. </RelativeLayout>
  86. <RelativeLayout
  87. android:id="@+id/userpd"
  88. android:layout_width="match_parent"
  89. android:layout_height="35dp"
  90. android:layout_marginLeft="13dp"
  91. android:layout_toRightOf="@+id/iphoe_bg">
  92. <EditText
  93. android:id="@+id/edit_user"
  94. android:layout_width="match_parent"
  95. android:layout_height="35dp"
  96. android:layout_alignParentTop="true"
  97. android:layout_centerHorizontal="true"
  98. android:layout_centerVertical="true"
  99. android:background="@null"
  100. android:gravity="center_vertical"
  101. android:hint="@string/user_edit_hint"
  102. android:imeOptions="actionNext"
  103. android:inputType="text"
  104. android:textCursorDrawable="@null"
  105. android:maxLength="22"
  106. android:nextFocusForward="@+id/edit_pwd"
  107. android:singleLine="true"
  108. android:textColor="#000000"
  109. android:textColorHint="#d5dad3"
  110. android:textSize="16sp"></EditText>
  111. <ImageButton
  112. android:id="@+id/ibpulldown"
  113. android:layout_width="25dp"
  114. android:layout_height="25dp"
  115. android:layout_alignParentRight="true"
  116. android:layout_centerVertical="true"
  117. android:layout_margin="5dp"
  118. android:background="@drawable/jm_urpulldown"/>
  119. </RelativeLayout>
  120. </RelativeLayout>
  121. <View
  122. android:layout_width="match_parent"
  123. android:layout_height="1dp"
  124. android:layout_marginLeft="5dp"
  125. android:layout_marginRight="5dp"
  126. android:layout_marginTop="5dp"
  127. android:alpha="0.5"
  128. android:background="#d6d6d6"/>
  129. </LinearLayout>
  130. <LinearLayout
  131. android:layout_width="match_parent"
  132. android:layout_height="wrap_content"
  133. android:layout_gravity="center"
  134. android:layout_marginLeft="15dp"
  135. android:layout_marginRight="15dp"
  136. android:layout_marginTop="10dp"
  137. android:orientation="vertical">
  138. <RelativeLayout
  139. android:layout_width="wrap_content"
  140. android:layout_height="40dp">
  141. <RelativeLayout
  142. android:id="@+id/pwr"
  143. android:layout_width="60dp"
  144. android:layout_height="35dp"
  145. android:layout_margin="5dp">
  146. <TextView
  147. android:id="@+id/pwdtv"
  148. android:layout_width="wrap_content"
  149. android:layout_height="wrap_content"
  150. android:layout_centerVertical="true"
  151. android:text="@string/user_text_pwd"
  152. android:textColor="@color/jmfont_black"
  153. android:textSize="18sp"/>
  154. <ImageView
  155. android:layout_width="20dp"
  156. android:layout_height="20dp"
  157. android:layout_centerVertical="true"
  158. android:layout_marginLeft="5dp"
  159. android:layout_toRightOf="@+id/pwdtv"
  160. android:src="@drawable/jm_pwd"/>
  161. </RelativeLayout>
  162. <EditText
  163. android:id="@+id/edit_pwd"
  164. android:layout_width="match_parent"
  165. android:layout_height="35dp"
  166. android:layout_alignParentTop="true"
  167. android:layout_centerHorizontal="true"
  168. android:layout_marginLeft="13dp"
  169. android:layout_toRightOf="@+id/pwr"
  170. android:background="@null"
  171. android:gravity="center_vertical"
  172. android:hint="@string/user_edit_pwdhint"
  173. android:imeOptions="actionDone"
  174. android:inputType="textPassword"
  175. android:textCursorDrawable="@null"
  176. android:maxLength="22"
  177. android:singleLine="true"
  178. android:textColor="#000000"
  179. android:textColorHint="#d5dad3"
  180. android:textSize="16sp"></EditText>
  181. </RelativeLayout>
  182. <View
  183. android:layout_width="match_parent"
  184. android:layout_height="1dp"
  185. android:layout_marginLeft="5dp"
  186. android:layout_marginRight="5dp"
  187. android:layout_marginTop="5dp"
  188. android:alpha="0.5"
  189. android:background="#d6d6d6"/>
  190. </LinearLayout>
  191. <RelativeLayout
  192. android:layout_width="match_parent"
  193. android:layout_height="35dp"
  194. android:layout_marginLeft="25dp"
  195. android:layout_marginRight="25dp">
  196. <TextView
  197. android:id="@+id/tvforgot"
  198. android:layout_width="wrap_content"
  199. android:layout_height="wrap_content"
  200. android:layout_alignParentRight="true"
  201. android:layout_centerVertical="true"
  202. android:padding="5sp"
  203. android:text="@string/user_forgot_msg"
  204. android:textColor="@color/jmfont_gray"
  205. android:textSize="16sp"/>
  206. </RelativeLayout>
  207. <LinearLayout
  208. android:layout_width="match_parent"
  209. android:layout_height="wrap_content"
  210. android:layout_gravity="center"
  211. android:layout_marginLeft="15dp"
  212. android:layout_marginRight="15dp"
  213. android:orientation="vertical">
  214. <RelativeLayout
  215. android:layout_width="match_parent"
  216. android:layout_height="wrap_content"
  217. android:layout_marginLeft="15dp"
  218. android:layout_marginRight="15dp">
  219. <Button
  220. android:id="@+id/iphonebtlg"
  221. android:layout_width="140dp"
  222. android:layout_height="40dp"
  223. android:background="@drawable/jm_cut_btn"
  224. android:drawableLeft="@drawable/jm_cut"
  225. android:paddingLeft="15dp"
  226. android:paddingRight="20dp"
  227. android:text="@string/moblie_login_title"
  228. android:textColor="@color/jmfont_blues"
  229. android:textSize="16sp"/>
  230. <Button
  231. android:id="@+id/userloginbt"
  232. android:layout_width="140dp"
  233. android:layout_height="40dp"
  234. android:layout_alignParentRight="true"
  235. android:background="@drawable/jmblues_btn_style"
  236. android:padding="5sp"
  237. android:text="@string/moblie_bt_login"
  238. android:textColor="@color/jmfont_white"
  239. android:textSize="16sp"/>
  240. </RelativeLayout>
  241. <RelativeLayout
  242. android:layout_width="match_parent"
  243. android:layout_height="match_parent"
  244. android:layout_marginLeft="10dp"
  245. android:layout_marginRight="10dp"
  246. android:layout_marginTop="20dp">
  247. <TextView
  248. android:id="@+id/tvvistor"
  249. android:layout_width="wrap_content"
  250. android:layout_height="35dp"
  251. android:layout_alignParentLeft="true"
  252. android:layout_centerVertical="true"
  253. android:padding="5sp"
  254. android:text="@string/moblie_text_visitor"
  255. android:textColor="@color/jmfont_gray"
  256. android:textSize="16sp"
  257. android:visibility="invisible"/>
  258. <TextView
  259. android:id="@+id/ivregister"
  260. android:layout_width="wrap_content"
  261. android:layout_height="35dp"
  262. android:layout_alignParentRight="true"
  263. android:layout_centerVertical="true"
  264. android:padding="5sp"
  265. android:text="@string/moblie_text_register"
  266. android:textColor="@color/jmfont_gray"
  267. android:textSize="16sp"/>
  268. </RelativeLayout>
  269. </LinearLayout>
  270. </LinearLayout>
  271. </LinearLayout>