jmlogin_main_3.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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:layout_width="@dimen/jm_login_logo_height"
  22. android:layout_height="@dimen/jm_login_logo_height"
  23. android:layout_centerVertical="true"
  24. android:scaleType="centerInside"
  25. android:src="@drawable/jm_logo_3" />
  26. <LinearLayout
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_centerHorizontal="true"
  30. android:layout_centerVertical="true"
  31. android:orientation="horizontal">
  32. <TextView
  33. android:id="@+id/userlgbt"
  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_normal"/>
  41. <TextView
  42. android:layout_width="@dimen/jm_login_switch_width"
  43. android:layout_height="@dimen/jm_login_switch_height"
  44. android:gravity="center"
  45. android:textColor="@color/jmfont_black"
  46. android:text="@string/moblie_login_title"
  47. android:textSize="12sp"
  48. android:background="@drawable/jm_skin3_select_right_checked"/>
  49. </LinearLayout>
  50. <LinearLayout
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:layout_alignParentRight="true"
  54. android:layout_centerVertical="true"
  55. android:gravity="center_horizontal"
  56. android:orientation="vertical">
  57. <ImageView
  58. android:id="@+id/ivkefu"
  59. android:layout_width="26dp"
  60. android:layout_height="30dp"
  61. android:scaleType="centerInside"
  62. android:src="@drawable/jm_kefu_new" />
  63. <TextView
  64. android:id="@+id/tvversion"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. tools:text="v1.0.1"
  68. android:textColor="#d5dad3"
  69. android:textSize="10sp"/>
  70. </LinearLayout>
  71. </RelativeLayout>
  72. <LinearLayout
  73. android:layout_width="match_parent"
  74. android:layout_height="@dimen/jm_input_height"
  75. android:orientation="horizontal"
  76. android:gravity="center_vertical"
  77. android:background="@drawable/jm_skin3_input_bg">
  78. <TextView
  79. android:layout_width="60dp"
  80. android:layout_height="wrap_content"
  81. android:layout_marginLeft="8dp"
  82. android:textColor="@color/jmfont_gray"
  83. android:textSize="16sp"
  84. android:text="@string/user_text_msg"/>
  85. <EditText
  86. android:id="@+id/edit_iphone"
  87. android:layout_width="match_parent"
  88. android:layout_height="35dp"
  89. android:background="@null"
  90. android:gravity="center_vertical"
  91. android:hint="@string/moblie_edit_hint"
  92. android:imeOptions="actionNext"
  93. android:inputType="phone"
  94. android:maxLength="25"
  95. android:textCursorDrawable="@null"
  96. android:nextFocusForward="@+id/edit_code"
  97. android:singleLine="true"
  98. android:textColor="#000000"
  99. android:textColorHint="#d5dad3"
  100. android:textSize="16sp" >
  101. </EditText>
  102. </LinearLayout>
  103. <LinearLayout
  104. android:layout_width="match_parent"
  105. android:gravity="center_vertical"
  106. android:layout_height="@dimen/jm_input_height"
  107. android:orientation="horizontal"
  108. android:layout_marginTop="10dp"
  109. android:background="@drawable/jm_skin3_input_bg">
  110. <TextView
  111. android:layout_width="60dp"
  112. android:layout_height="wrap_content"
  113. android:layout_marginLeft="8dp"
  114. android:textColor="@color/jmfont_gray"
  115. android:textSize="16sp"
  116. android:text="@string/moblie_text_msg"/>
  117. <EditText
  118. android:id="@+id/edit_code"
  119. android:layout_width="0dp"
  120. android:layout_weight="1"
  121. android:layout_height="35dp"
  122. android:background="@null"
  123. android:gravity="center_vertical"
  124. android:hint="@string/moblie_edit_code_hint"
  125. android:imeOptions="actionDone"
  126. android:inputType="number"
  127. android:textCursorDrawable="@null"
  128. android:maxLength="6"
  129. android:singleLine="true"
  130. android:textColor="#000000"
  131. android:textColorHint="#d5dad3"
  132. android:textSize="16sp" >
  133. </EditText>
  134. <TextView
  135. android:id="@+id/ibcode"
  136. android:layout_width="75dp"
  137. android:layout_height="34dp"
  138. android:layout_margin="6dp"
  139. android:gravity="center"
  140. android:background="@drawable/jm_green_codebtn_style"
  141. android:padding="5sp"
  142. android:text="@string/moblie_bt_code"
  143. android:textColor="@color/jmfont_white"
  144. android:textSize="11sp" />
  145. </LinearLayout>
  146. <TextView
  147. android:id="@+id/mobilebt"
  148. android:layout_width="match_parent"
  149. android:layout_height="@dimen/jm_input_height"
  150. android:layout_marginTop="@dimen/jm_login_submit_margin_top"
  151. android:gravity="center"
  152. android:background="@drawable/jm_green_codebtn_style"
  153. android:text="@string/moblie_bt_login"
  154. android:textColor="@color/jmfont_white"
  155. android:textSize="18sp" />
  156. <RelativeLayout
  157. android:layout_width="match_parent"
  158. android:layout_height="wrap_content"
  159. android:layout_marginTop="10dp" >
  160. <TextView
  161. android:layout_width="wrap_content"
  162. android:layout_height="wrap_content"
  163. android:layout_alignParentRight="true"
  164. android:layout_centerVertical="true"
  165. android:id="@+id/tvvistor"
  166. android:text="@string/moblie_text_visitor"
  167. android:textColor="@color/jm_green"
  168. android:textSize="16sp" />
  169. <TextView
  170. android:id="@+id/ivregister"
  171. android:layout_width="wrap_content"
  172. android:layout_height="wrap_content"
  173. android:layout_alignParentLeft="true"
  174. android:layout_centerVertical="true"
  175. android:text="@string/moblie_text_register"
  176. android:textColor="@color/jm_green"
  177. android:textSize="16sp" />
  178. </RelativeLayout>
  179. </LinearLayout>
  180. </LinearLayout>