jmsetuser_p.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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="340dp"
  10. android:layout_height="360dp"
  11. android:background="@drawable/jmloginb"
  12. android:orientation="vertical" >
  13. <RelativeLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="80dp"
  16. android:orientation="vertical" >
  17. <ImageView
  18. android:id="@+id/logo"
  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:background="@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:layout_toRightOf="@+id/logo"
  33. android:padding="5sp"
  34. android:text="@string/setuser_text_title"
  35. android:textColor="@color/jmfont_black"
  36. android:textSize="18sp" />
  37. </RelativeLayout>
  38. <LinearLayout
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:layout_gravity="center"
  42. android:layout_marginLeft="15dp"
  43. android:layout_marginRight="15dp"
  44. android:orientation="vertical" >
  45. <RelativeLayout
  46. android:layout_width="wrap_content"
  47. android:layout_height="40dp" >
  48. <RelativeLayout
  49. android:id="@+id/iphoe_bg"
  50. android:layout_width="60dp"
  51. android:layout_height="35dp"
  52. android:layout_margin="5dp" >
  53. <TextView
  54. android:id="@+id/usertv"
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:layout_centerVertical="true"
  58. android:text="@string/user_text_msg"
  59. android:textColor="@color/jmfont_black"
  60. android:textSize="18sp" />
  61. <ImageView
  62. android:layout_width="20dp"
  63. android:layout_height="20dp"
  64. android:layout_centerVertical="true"
  65. android:layout_marginLeft="5dp"
  66. android:layout_toRightOf="@+id/usertv"
  67. android:background="@drawable/jm_userl" />
  68. </RelativeLayout>
  69. <EditText
  70. android:id="@+id/edit_user"
  71. android:layout_width="match_parent"
  72. android:layout_height="35dp"
  73. android:layout_alignParentTop="true"
  74. android:layout_centerHorizontal="true"
  75. android:layout_centerVertical="true"
  76. android:layout_marginLeft="15dp"
  77. android:layout_toRightOf="@+id/iphoe_bg"
  78. android:background="@null"
  79. android:enabled="false"
  80. android:gravity="center_vertical"
  81. android:hint="@string/user_edit_hint"
  82. android:inputType="text"
  83. android:maxLength="22"
  84. android:singleLine="true"
  85. android:textColor="#000000"
  86. android:textColorHint="#d5dad3"
  87. android:textSize="16sp" >
  88. </EditText>
  89. </RelativeLayout>
  90. <View
  91. android:layout_width="match_parent"
  92. android:layout_height="1dp"
  93. android:layout_marginLeft="5dp"
  94. android:layout_marginRight="5dp"
  95. android:alpha="0.5"
  96. android:background="#d6d6d6" />
  97. </LinearLayout>
  98. <LinearLayout
  99. android:layout_width="match_parent"
  100. android:layout_height="wrap_content"
  101. android:layout_gravity="center"
  102. android:layout_marginLeft="15dp"
  103. android:layout_marginRight="15dp"
  104. android:layout_marginTop="10dp"
  105. android:orientation="vertical" >
  106. <RelativeLayout
  107. android:layout_width="wrap_content"
  108. android:layout_height="40dp" >
  109. <RelativeLayout
  110. android:id="@+id/pwr"
  111. android:layout_width="60dp"
  112. android:layout_height="35dp"
  113. android:layout_margin="5dp" >
  114. <TextView
  115. android:id="@+id/pwdtv"
  116. android:layout_width="wrap_content"
  117. android:layout_height="wrap_content"
  118. android:layout_centerVertical="true"
  119. android:text="@string/user_text_pwd"
  120. android:textColor="@color/jmfont_black"
  121. android:textSize="18sp" />
  122. <ImageView
  123. android:layout_width="20dp"
  124. android:layout_height="20dp"
  125. android:layout_centerVertical="true"
  126. android:layout_marginLeft="5dp"
  127. android:layout_toRightOf="@+id/pwdtv"
  128. android:background="@drawable/jm_pwd" />
  129. </RelativeLayout>
  130. <EditText
  131. android:id="@+id/edit_pwd"
  132. android:enabled="false"
  133. android:layout_width="match_parent"
  134. android:layout_height="35dp"
  135. android:layout_alignParentTop="true"
  136. android:layout_centerHorizontal="true"
  137. android:layout_marginLeft="15dp"
  138. android:layout_toRightOf="@+id/pwr"
  139. android:background="@null"
  140. android:gravity="center_vertical"
  141. android:hint="@string/user_edit_pwdhint"
  142. android:inputType="text"
  143. android:maxLength="22"
  144. android:singleLine="true"
  145. android:textColor="#000000"
  146. android:textColorHint="#d5dad3"
  147. android:textSize="16sp" >
  148. </EditText>
  149. </RelativeLayout>
  150. <View
  151. android:layout_width="match_parent"
  152. android:layout_height="1dp"
  153. android:layout_marginLeft="5dp"
  154. android:layout_marginRight="5dp"
  155. android:alpha="0.5"
  156. android:background="#d6d6d6" />
  157. </LinearLayout>
  158. <LinearLayout
  159. android:layout_width="match_parent"
  160. android:layout_height="wrap_content"
  161. android:layout_gravity="center"
  162. android:layout_marginLeft="15dp"
  163. android:layout_marginRight="15dp"
  164. android:layout_marginTop="10dp"
  165. android:orientation="vertical" >
  166. <LinearLayout
  167. android:layout_width="match_parent"
  168. android:layout_height="wrap_content"
  169. android:layout_gravity="center"
  170. android:orientation="horizontal" >
  171. <TextView
  172. android:layout_width="wrap_content"
  173. android:layout_height="wrap_content"
  174. android:layout_centerVertical="true"
  175. android:text="@string/setuser_text_tip"
  176. android:visibility="invisible"
  177. android:textColor="@color/jmfont_red"
  178. android:id="@+id/tvmsg"
  179. android:textSize="18sp" />
  180. </LinearLayout>
  181. <RelativeLayout
  182. android:layout_width="match_parent"
  183. android:layout_height="wrap_content"
  184. android:layout_marginTop="10dp" >
  185. <Button
  186. android:id="@+id/btgetgame"
  187. android:layout_width="match_parent"
  188. android:layout_height="50dp"
  189. android:background="@drawable/jmblues_btn_style"
  190. android:text="@string/setuser_bt_msg"
  191. android:textColor="@color/jmfont_white" />
  192. </RelativeLayout>
  193. </LinearLayout>
  194. </LinearLayout>
  195. </LinearLayout>