jmlogin_main_en.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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:layout_width="60dp"
  19. android:layout_height="60dp"
  20. android:layout_centerVertical="true"
  21. android:layout_marginLeft="25dp"
  22. android:layout_marginTop="15dp"
  23. android:background="@drawable/jm_logo_new"/>
  24. <TextView
  25. android:layout_width="wrap_content"
  26. android:layout_height="40dp"
  27. android:layout_centerHorizontal="true"
  28. android:layout_centerVertical="true"
  29. android:layout_marginTop="10dp"
  30. android:padding="5sp"
  31. android:text="@string/jm_email_login_title"
  32. android:textColor="@color/jmfont_black"
  33. android:textSize="22sp"/>
  34. </RelativeLayout>
  35. <LinearLayout
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:layout_gravity="center"
  39. android:layout_marginLeft="15dp"
  40. android:layout_marginRight="15dp"
  41. android:orientation="vertical">
  42. <LinearLayout
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. android:orientation="vertical">
  46. <TextView
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:textColor="@color/jmfont_black"
  50. android:textSize="18sp"
  51. android:text="@string/jm_user_name"/>
  52. <EditText
  53. android:id="@+id/email"
  54. android:nextFocusDown="@+id/password"
  55. android:layout_width="match_parent"
  56. android:layout_height="35dp"
  57. android:background="@null"
  58. android:gravity="center_vertical"
  59. android:hint="@string/jm_user_name_hint"
  60. android:imeOptions="actionNext"
  61. android:inputType="textEmailAddress"
  62. android:maxLength="25"
  63. android:singleLine="true"
  64. android:textColor="#000000"
  65. android:textColorHint="#d5dad3"
  66. android:textSize="18sp"></EditText>
  67. </LinearLayout>
  68. <View
  69. android:layout_width="match_parent"
  70. android:layout_height="1dp"
  71. android:alpha="0.5"
  72. android:background="#d6d6d6"/>
  73. </LinearLayout>
  74. <LinearLayout
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. android:layout_gravity="center"
  78. android:layout_marginLeft="15dp"
  79. android:layout_marginRight="15dp"
  80. android:layout_marginTop="10dp"
  81. android:orientation="vertical">
  82. <LinearLayout
  83. android:layout_width="match_parent"
  84. android:layout_height="wrap_content"
  85. android:orientation="vertical">
  86. <TextView
  87. android:layout_width="match_parent"
  88. android:layout_height="wrap_content"
  89. android:textColor="@color/jmfont_black"
  90. android:textSize="18sp"
  91. android:text="@string/user_text_pwd"/>
  92. <EditText
  93. android:id="@+id/password"
  94. android:layout_width="match_parent"
  95. android:layout_height="35dp"
  96. android:background="@null"
  97. android:hint="@string/user_edit_pwdhint"
  98. android:imeOptions="actionDone"
  99. android:inputType="textPassword"
  100. android:textColor="#000000"
  101. android:textColorHint="#d5dad3"
  102. android:textSize="18sp"></EditText>
  103. </LinearLayout>
  104. <View
  105. android:layout_width="match_parent"
  106. android:layout_height="1dp"
  107. android:alpha="0.5"
  108. android:background="#d6d6d6"/>
  109. </LinearLayout>
  110. <FrameLayout
  111. android:layout_width="match_parent"
  112. android:layout_height="wrap_content"
  113. android:layout_marginTop="10dp"
  114. android:layout_marginLeft="15dp"
  115. android:layout_marginRight="15dp">
  116. <TextView
  117. android:id="@+id/forget"
  118. android:layout_width="wrap_content"
  119. android:layout_height="wrap_content"
  120. android:text="@string/jm_forget_password"
  121. android:textColor="@color/jmfont_gray"
  122. android:textSize="18sp"/>
  123. <TextView
  124. android:id="@+id/register"
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. android:layout_gravity="end"
  128. android:text="@string/jm_register"
  129. android:textColor="@color/jmfont_blues"
  130. android:textSize="18sp"/>
  131. </FrameLayout>
  132. <Button
  133. android:id="@+id/submit"
  134. android:layout_width="match_parent"
  135. android:layout_height="35dp"
  136. android:layout_marginLeft="15dp"
  137. android:layout_marginRight="15dp"
  138. android:layout_marginTop="10dp"
  139. android:background="@drawable/jm_blues_codebtn_style"
  140. android:textAllCaps="false"
  141. android:text="@string/user_bt_submit"
  142. android:textColor="@color/jmfont_white"
  143. android:textSize="16sp"/>
  144. </LinearLayout>
  145. </LinearLayout>