jmuserlogin_3.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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="match_parent"
  6. android:gravity="center"
  7. android:orientation="vertical"
  8. xmlns:tools="http://schemas.android.com/tools">
  9. <LinearLayout
  10. android:layout_width="@dimen/jm_login_width"
  11. android:layout_height="@dimen/jm_login_height"
  12. android:paddingLeft="15dp"
  13. android:paddingRight="15dp"
  14. android:background="@drawable/jm_skin3_bg"
  15. android:orientation="vertical" >
  16. <RelativeLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="@dimen/jm_login_top_height"
  19. android:orientation="vertical" >
  20. <ImageView
  21. android:id="@+id/logo"
  22. android:layout_width="@dimen/jm_login_logo_height"
  23. android:layout_height="@dimen/jm_login_logo_height"
  24. android:layout_centerVertical="true"
  25. android:scaleType="fitCenter"
  26. android:src="@drawable/jm_logo_3" />
  27. <LinearLayout
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_centerHorizontal="true"
  31. android:layout_centerVertical="true"
  32. android:orientation="horizontal">
  33. <TextView
  34. android:layout_width="@dimen/jm_login_switch_width"
  35. android:layout_height="@dimen/jm_login_switch_height"
  36. android:gravity="center"
  37. android:textColor="@color/jmfont_black"
  38. android:text="@string/moblie_bt_user"
  39. android:textSize="12sp"
  40. android:background="@drawable/jm_skin3_select_left_checked"/>
  41. <TextView
  42. android:id="@+id/iphonebtlg"
  43. android:layout_width="@dimen/jm_login_switch_width"
  44. android:layout_height="@dimen/jm_login_switch_height"
  45. android:gravity="center"
  46. android:textColor="@color/jmfont_black"
  47. android:text="@string/moblie_login_title"
  48. android:textSize="12sp"
  49. android:background="@drawable/jm_skin3_select_right_normal"/>
  50. </LinearLayout>
  51. <LinearLayout
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:layout_alignParentRight="true"
  55. android:layout_centerVertical="true"
  56. android:gravity="center_horizontal"
  57. android:orientation="vertical">
  58. <ImageView
  59. android:id="@+id/ivkefu"
  60. android:layout_width="26dp"
  61. android:layout_height="30dp"
  62. android:scaleType="centerInside"
  63. android:src="@drawable/jm_kefu_new" />
  64. <TextView
  65. android:id="@+id/tvversion"
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. tools:text="v1.0.1"
  69. android:textColor="#d5dad3"
  70. android:textSize="10sp"/>
  71. </LinearLayout>
  72. </RelativeLayout>
  73. <LinearLayout
  74. android:layout_width="match_parent"
  75. android:layout_height="@dimen/jm_input_height"
  76. android:gravity="center_vertical"
  77. android:orientation="horizontal"
  78. android:background="@drawable/jm_skin3_input_bg">
  79. <TextView
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:layout_marginLeft="8dp"
  83. android:layout_marginRight="8dp"
  84. android:textColor="@color/jmfont_gray"
  85. android:textSize="16sp"
  86. android:text="@string/user_text_msg"/>
  87. <EditText
  88. android:id="@+id/edit_user"
  89. android:layout_width="0dp"
  90. android:layout_weight="1"
  91. android:layout_height="35dp"
  92. android:background="@null"
  93. android:gravity="center_vertical"
  94. android:hint="@string/user_edit_hint"
  95. android:inputType="text"
  96. android:textCursorDrawable="@null"
  97. android:maxLength="22"
  98. android:singleLine="true"
  99. android:textColor="#000000"
  100. android:textColorHint="#d5dad3"
  101. android:textSize="16sp" />
  102. <ImageView
  103. android:id="@+id/ibpulldown"
  104. android:layout_width="@dimen/jm_input_icon"
  105. android:layout_height="@dimen/jm_input_icon"
  106. android:layout_marginRight="@dimen/jm_input_icon_margin_right"
  107. android:scaleType="centerInside"
  108. android:src="@drawable/jm_iphone" />
  109. </LinearLayout>
  110. <LinearLayout
  111. android:layout_width="match_parent"
  112. android:layout_height="@dimen/jm_input_height"
  113. android:layout_marginTop="10dp"
  114. android:gravity="center_vertical"
  115. android:orientation="horizontal"
  116. android:background="@drawable/jm_skin3_input_bg">
  117. <TextView
  118. android:layout_width="wrap_content"
  119. android:layout_height="wrap_content"
  120. android:layout_marginLeft="8dp"
  121. android:layout_marginRight="8dp"
  122. android:textColor="@color/jmfont_gray"
  123. android:textSize="16sp"
  124. android:text="@string/user_text_pwd"/>
  125. <EditText
  126. android:id="@+id/edit_pwd"
  127. android:layout_width="match_parent"
  128. android:layout_height="35dp"
  129. android:background="@null"
  130. android:gravity="center_vertical"
  131. android:hint="@string/user_edit_pwdhint"
  132. android:inputType="textPassword"
  133. android:textCursorDrawable="@null"
  134. android:maxLength="22"
  135. android:singleLine="true"
  136. android:textColor="#000000"
  137. android:textColorHint="#d5dad3"
  138. android:textSize="16sp" />
  139. </LinearLayout>
  140. <FrameLayout
  141. android:layout_width="match_parent"
  142. android:layout_height="wrap_content">
  143. <TextView
  144. android:id="@+id/userloginbt"
  145. android:layout_width="match_parent"
  146. android:layout_height="@dimen/jm_input_height"
  147. android:layout_marginTop="@dimen/jm_login_submit_margin_top"
  148. android:gravity="center"
  149. android:background="@drawable/jm_green_codebtn_style"
  150. android:text="@string/moblie_bt_login"
  151. android:textColor="@color/jmfont_white"
  152. android:textSize="18sp" />
  153. <TextView
  154. android:id="@+id/tvforgot"
  155. android:layout_width="wrap_content"
  156. android:layout_height="wrap_content"
  157. android:layout_gravity="end"
  158. android:layout_marginTop="@dimen/jm_forget_text_margin_top"
  159. android:text="@string/user_forgot_msg"
  160. android:textColor="@color/jm_green"
  161. android:textSize="16sp" />
  162. </FrameLayout>
  163. <TextView
  164. android:id="@+id/ivregister"
  165. android:layout_width="match_parent"
  166. android:layout_height="@dimen/jm_input_height"
  167. android:layout_marginTop="16dp"
  168. android:gravity="center"
  169. android:background="@drawable/jm_orange_codebtn_style"
  170. android:text="@string/moblie_text_register"
  171. android:textColor="@color/jmfont_white"
  172. android:textSize="18sp" />
  173. </LinearLayout>
  174. </LinearLayout>