jmuserregister_3.xml 7.9 KB

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