jmuserlogin_5.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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_4"
  11. android:layout_height="@dimen/jm_login_height_4"
  12. android:paddingLeft="15dp"
  13. android:paddingRight="15dp"
  14. android:background="@drawable/jm_login_bg_4"
  15. android:orientation="vertical" >
  16. <RelativeLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="@dimen/jm_login_top_height_4"
  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_4" />
  27. <View
  28. android:id="@+id/line"
  29. android:layout_width="1dp"
  30. android:layout_height="20dp"
  31. android:layout_toRightOf="@id/logo"
  32. android:layout_marginLeft="10dp"
  33. android:layout_marginRight="10dp"
  34. android:layout_centerVertical="true"
  35. android:background="@color/jm_dialog_line"/>
  36. <TextView
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_toRightOf="@id/line"
  40. android:layout_centerVertical="true"
  41. android:textColor="@color/jmfont_white"
  42. android:textSize="11sp"
  43. android:text="@string/moblie_bt_user"/>
  44. <LinearLayout
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:layout_alignParentRight="true"
  48. android:layout_centerVertical="true"
  49. android:gravity="center_horizontal"
  50. android:orientation="vertical">
  51. <ImageView
  52. android:id="@+id/ivkefu"
  53. android:layout_width="26dp"
  54. android:layout_height="30dp"
  55. android:scaleType="centerInside"
  56. android:src="@drawable/jm_kefu_4" />
  57. <TextView
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:text="@string/float_kefu_msg"
  61. android:textColor="#d5dad3"
  62. android:textSize="11sp"/>
  63. </LinearLayout>
  64. </RelativeLayout>
  65. <LinearLayout
  66. android:layout_width="match_parent"
  67. android:layout_height="wrap_content"
  68. android:orientation="vertical"
  69. android:background="@drawable/jm_input_layout_bg_4">
  70. <LinearLayout
  71. android:layout_width="match_parent"
  72. android:layout_height="@dimen/jm_input_height"
  73. android:layout_marginLeft="10dp"
  74. android:gravity="center_vertical"
  75. android:orientation="horizontal">
  76. <ImageView
  77. android:layout_width="wrap_content"
  78. android:layout_height="wrap_content"
  79. android:layout_marginRight="16dp"
  80. android:src="@drawable/jm_account_4"/>
  81. <EditText
  82. android:id="@+id/edit_user"
  83. android:layout_width="0dp"
  84. android:layout_weight="1"
  85. android:layout_height="35dp"
  86. android:background="@null"
  87. android:gravity="center_vertical"
  88. android:hint="@string/user_edit_hint"
  89. android:inputType="text"
  90. android:nextFocusDown="@+id/edit_pwd"
  91. android:textCursorDrawable="@null"
  92. android:maxLength="22"
  93. android:singleLine="true"
  94. android:textColor="#000000"
  95. android:textColorHint="#d5dad3"
  96. android:textSize="11sp" />
  97. <ImageView
  98. android:id="@+id/ibpulldown"
  99. android:layout_width="@dimen/jm_input_icon"
  100. android:layout_height="@dimen/jm_input_icon"
  101. android:layout_marginRight="@dimen/jm_input_icon_margin_right"
  102. android:scaleType="centerInside"
  103. android:src="@drawable/jm_urpulldown_new" />
  104. </LinearLayout>
  105. <View
  106. android:layout_width="match_parent"
  107. android:layout_height="1px"
  108. android:layout_marginLeft="7dp"
  109. android:layout_marginRight="7dp"
  110. android:background="@color/jm_dialog_line"/>
  111. <LinearLayout
  112. android:layout_width="match_parent"
  113. android:layout_height="@dimen/jm_input_height"
  114. android:layout_marginLeft="10dp"
  115. android:gravity="center_vertical"
  116. android:orientation="horizontal">
  117. <ImageView
  118. android:layout_width="wrap_content"
  119. android:layout_height="wrap_content"
  120. android:layout_marginRight="16dp"
  121. android:src="@drawable/jm_password_4"/>
  122. <EditText
  123. android:id="@+id/edit_pwd"
  124. android:layout_width="0dp"
  125. android:layout_weight="1"
  126. android:layout_height="35dp"
  127. android:background="@null"
  128. android:gravity="center_vertical"
  129. android:hint="@string/user_edit_pwdhint"
  130. android:inputType="textPassword"
  131. android:imeOptions="actionDone"
  132. android:textCursorDrawable="@null"
  133. android:maxLength="22"
  134. android:singleLine="true"
  135. android:textColor="#000000"
  136. android:textColorHint="#d5dad3"
  137. android:textSize="11sp" />
  138. </LinearLayout>
  139. </LinearLayout>
  140. <FrameLayout
  141. android:layout_width="match_parent"
  142. android:layout_height="wrap_content">
  143. <TextView
  144. android:id="@+id/tvforgot"
  145. android:layout_width="wrap_content"
  146. android:layout_height="wrap_content"
  147. android:layout_gravity="end"
  148. android:layout_marginTop="@dimen/jm_forget_text_margin_top"
  149. android:text="@string/user_forgot_msg"
  150. android:textColor="@color/jm_yellow"
  151. android:textSize="11sp" />
  152. </FrameLayout>
  153. <FrameLayout
  154. android:layout_width="match_parent"
  155. android:layout_height="wrap_content"
  156. android:layout_marginTop="16dp"
  157. android:orientation="horizontal">
  158. <LinearLayout
  159. android:id="@+id/ivregister"
  160. android:layout_width="113dp"
  161. android:layout_height="33dp"
  162. android:orientation="horizontal"
  163. android:gravity="center"
  164. android:background="@drawable/jm_button_register_4">
  165. <ImageView
  166. android:layout_width="16dp"
  167. android:layout_height="16dp"
  168. android:layout_marginRight="5dp"
  169. android:scaleType="fitCenter"
  170. android:src="@drawable/jm_button_email_5"/>
  171. <TextView
  172. android:layout_width="wrap_content"
  173. android:layout_height="wrap_content"
  174. android:text="@string/jm_register_email"
  175. android:textColor="@color/jmfont_white"
  176. android:textSize="11sp" />
  177. </LinearLayout>
  178. <TextView
  179. android:id="@+id/userloginbt"
  180. android:layout_width="113dp"
  181. android:layout_height="33dp"
  182. android:layout_gravity="end"
  183. android:gravity="center"
  184. android:background="@drawable/jm_button_login_4"
  185. android:text="@string/moblie_bt_login"
  186. android:textColor="@color/jmfont_white"
  187. android:textSize="11sp" />
  188. </FrameLayout>
  189. </LinearLayout>
  190. </LinearLayout>