jmsetpwd_new.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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: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="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_centerVertical="true"
  22. android:layout_marginLeft="25dp"
  23. android:layout_marginTop="15dp"
  24. android:background="@drawable/jm_logo_new"
  25. android:visibility="gone"/>
  26. <TextView
  27. android:layout_width="wrap_content"
  28. android:layout_height="40dp"
  29. android:layout_centerHorizontal="true"
  30. android:layout_centerVertical="true"
  31. android:layout_margin="5dp"
  32. android:layout_marginRight="25dp"
  33. android:layout_marginTop="10dp"
  34. android:padding="5sp"
  35. android:text="@string/setpwd_text_title"
  36. android:textColor="@color/jmfont_black"
  37. android:textSize="20sp"/>
  38. </RelativeLayout>
  39. <LinearLayout
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:layout_gravity="center"
  43. android:layout_marginLeft="15dp"
  44. android:layout_marginRight="15dp"
  45. android:orientation="vertical">
  46. <RelativeLayout
  47. android:layout_width="wrap_content"
  48. android:layout_height="40dp">
  49. <RelativeLayout
  50. android:id="@+id/iphoe_bg"
  51. android:layout_width="90dp"
  52. android:layout_height="35dp"
  53. android:layout_margin="5dp">
  54. <TextView
  55. android:id="@+id/usertv"
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_centerVertical="true"
  59. android:text="@string/setpwd_text_msg"
  60. android:textColor="@color/jmfont_black"
  61. android:textSize="18sp"/>
  62. </RelativeLayout>
  63. <TextView
  64. android:layout_width="wrap_content"
  65. android:layout_height="wrap_content"
  66. android:layout_centerVertical="true"
  67. android:layout_toRightOf="@+id/iphoe_bg"
  68. android:text="16889014567"
  69. android:id="@+id/tvmobile"
  70. android:textColor="@color/jmfont_black"
  71. android:textSize="18sp"></TextView>
  72. </RelativeLayout>
  73. <View
  74. android:layout_width="match_parent"
  75. android:layout_height="1dp"
  76. android:layout_marginLeft="5dp"
  77. android:layout_marginRight="5dp"
  78. android:alpha="0.5"
  79. android:background="#d6d6d6"/>
  80. </LinearLayout>
  81. <LinearLayout
  82. android:layout_width="match_parent"
  83. android:layout_height="wrap_content"
  84. android:layout_gravity="center"
  85. android:layout_marginLeft="15dp"
  86. android:layout_marginRight="15dp"
  87. android:layout_marginTop="10dp"
  88. android:orientation="vertical">
  89. <RelativeLayout
  90. android:layout_width="wrap_content"
  91. android:layout_height="40dp">
  92. <RelativeLayout
  93. android:id="@+id/pwr"
  94. android:layout_width="90dp"
  95. android:layout_height="35dp"
  96. android:layout_margin="5dp">
  97. <TextView
  98. android:id="@+id/pwdtv"
  99. android:layout_width="wrap_content"
  100. android:layout_height="wrap_content"
  101. android:layout_centerVertical="true"
  102. android:text="@string/user_text_pwd"
  103. android:textColor="@color/jmfont_black"
  104. android:textSize="18sp"/>
  105. <ImageView
  106. android:layout_width="20dp"
  107. android:layout_height="20dp"
  108. android:layout_centerVertical="true"
  109. android:layout_marginLeft="5dp"
  110. android:layout_toRightOf="@+id/pwdtv"
  111. android:background="@drawable/jm_pwd"/>
  112. </RelativeLayout>
  113. <EditText
  114. android:id="@+id/edit_pwd"
  115. android:layout_width="match_parent"
  116. android:layout_height="35dp"
  117. android:layout_alignParentTop="true"
  118. android:layout_centerHorizontal="true"
  119. android:textCursorDrawable="@null"
  120. android:layout_toRightOf="@+id/pwr"
  121. android:background="@null"
  122. android:gravity="center_vertical"
  123. android:hint="@string/user_edit_pwdhint"
  124. android:inputType="text"
  125. android:maxLength="22"
  126. android:singleLine="true"
  127. android:textColor="#000000"
  128. android:textColorHint="#d5dad3"
  129. android:imeOptions="actionDone"
  130. android:textSize="16sp"></EditText>
  131. </RelativeLayout>
  132. <View
  133. android:layout_width="match_parent"
  134. android:layout_height="1dp"
  135. android:layout_marginLeft="5dp"
  136. android:layout_marginRight="5dp"
  137. android:alpha="0.5"
  138. android:background="#d6d6d6"/>
  139. </LinearLayout>
  140. <LinearLayout
  141. android:layout_width="match_parent"
  142. android:layout_height="wrap_content"
  143. android:layout_gravity="center"
  144. android:layout_marginLeft="15dp"
  145. android:layout_marginRight="15dp"
  146. android:layout_marginTop="5dp"
  147. android:orientation="vertical">
  148. <RelativeLayout
  149. android:layout_width="match_parent"
  150. android:layout_height="wrap_content"
  151. android:layout_marginTop="20dp">
  152. <Button
  153. android:id="@+id/iphonebtlg"
  154. android:layout_width="match_parent"
  155. android:layout_height="50dp"
  156. android:background="@drawable/jmblues_btn_style"
  157. android:text="@string/setuser_bt_msg"
  158. android:textColor="@color/jmfont_white"/>
  159. </RelativeLayout>
  160. </LinearLayout>
  161. </LinearLayout>
  162. </LinearLayout>