jmsetuser_new.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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:id="@+id/content_view"
  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_login_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_width"
  23. android:layout_height="@dimen/jm_login_logo_height"
  24. android:layout_centerVertical="true"
  25. android:scaleType="centerInside"
  26. android:src="@drawable/jm_logo_new"
  27. android:visibility="gone"/>
  28. <TextView
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_centerHorizontal="true"
  32. android:layout_centerVertical="true"
  33. android:textColor="@color/jmfont_black"
  34. android:text="@string/setuser_text_title"
  35. android:textSize="16sp"/>
  36. </RelativeLayout>
  37. <LinearLayout
  38. android:layout_width="match_parent"
  39. android:layout_height="@dimen/jm_input_height"
  40. android:gravity="center_vertical"
  41. android:orientation="horizontal"
  42. android:background="@drawable/jm_input_bg">
  43. <ImageView
  44. android:layout_width="@dimen/jm_login_icon_width"
  45. android:layout_height="@dimen/jm_login_icon_height"
  46. android:layout_marginLeft="10dp"
  47. android:layout_marginRight="10dp"
  48. android:scaleType="centerInside"
  49. android:src="@drawable/jm_account"/>
  50. <EditText
  51. android:id="@+id/edit_user"
  52. android:layout_width="match_parent"
  53. android:layout_height="35dp"
  54. android:background="@null"
  55. android:enabled="false"
  56. android:gravity="center_vertical"
  57. android:hint="@string/user_edit_hint"
  58. android:inputType="text"
  59. android:textCursorDrawable="@null"
  60. android:maxLength="22"
  61. android:singleLine="true"
  62. android:textColor="#000000"
  63. android:textColorHint="#d5dad3"
  64. android:textSize="16sp"/>
  65. </LinearLayout>
  66. <LinearLayout
  67. android:layout_width="match_parent"
  68. android:layout_height="@dimen/jm_input_height"
  69. android:layout_marginTop="10dp"
  70. android:gravity="center_vertical"
  71. android:orientation="horizontal"
  72. android:background="@drawable/jm_input_bg">
  73. <ImageView
  74. android:layout_width="@dimen/jm_login_icon_width"
  75. android:layout_height="@dimen/jm_login_icon_height"
  76. android:layout_marginLeft="10dp"
  77. android:layout_marginRight="10dp"
  78. android:scaleType="centerInside"
  79. android:src="@drawable/jm_password"/>
  80. <EditText
  81. android:id="@+id/edit_pwd"
  82. android:enabled="false"
  83. android:layout_width="match_parent"
  84. android:layout_height="35dp"
  85. android:background="@null"
  86. android:gravity="center_vertical"
  87. android:hint="@string/user_edit_pwdhint"
  88. android:inputType="text"
  89. android:textCursorDrawable="@null"
  90. android:maxLength="22"
  91. android:singleLine="true"
  92. android:textColor="#000000"
  93. android:textColorHint="#d5dad3"
  94. android:textSize="16sp"></EditText>
  95. </LinearLayout>
  96. <FrameLayout
  97. android:layout_width="match_parent"
  98. android:layout_height="wrap_content">
  99. <TextView
  100. android:id="@+id/btgetgame"
  101. android:layout_width="match_parent"
  102. android:layout_height="@dimen/jm_input_height"
  103. android:layout_marginTop="@dimen/jm_login_submit_margin_top"
  104. android:gravity="center"
  105. android:background="@drawable/jm_blues_codebtn_style_new"
  106. android:text="@string/moblie_bt_login"
  107. android:textColor="@color/jmfont_white"
  108. android:textSize="18sp"/>
  109. <TextView
  110. android:layout_width="wrap_content"
  111. android:layout_height="wrap_content"
  112. android:layout_marginTop="@dimen/jm_forget_text_margin_top"
  113. android:text="@string/setuser_text_tip"
  114. android:textColor="@color/jmfont_red"
  115. android:id="@+id/tvmsg"
  116. android:textSize="14sp"/>
  117. </FrameLayout>
  118. </LinearLayout>
  119. </LinearLayout>