jmlogin_main_en.xml 6.3 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" >
  67. </EditText>
  68. </LinearLayout>
  69. <View
  70. android:layout_width="match_parent"
  71. android:layout_height="1dp"
  72. android:alpha="0.5"
  73. android:background="#d6d6d6" />
  74. </LinearLayout>
  75. <LinearLayout
  76. android:layout_width="match_parent"
  77. android:layout_height="wrap_content"
  78. android:layout_gravity="center"
  79. android:layout_marginLeft="15dp"
  80. android:layout_marginRight="15dp"
  81. android:layout_marginTop="10dp"
  82. android:orientation="vertical" >
  83. <LinearLayout
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content"
  86. android:orientation="vertical">
  87. <TextView
  88. android:layout_width="match_parent"
  89. android:layout_height="wrap_content"
  90. android:textColor="@color/jmfont_black"
  91. android:textSize="18sp"
  92. android:text="@string/user_text_pwd"/>
  93. <EditText
  94. android:id="@+id/password"
  95. android:layout_width="match_parent"
  96. android:layout_height="35dp"
  97. android:background="@null"
  98. android:hint="@string/user_edit_pwdhint"
  99. android:imeOptions="actionDone"
  100. android:inputType="textPassword"
  101. android:textColor="#000000"
  102. android:textColorHint="#d5dad3"
  103. android:textSize="18sp" >
  104. </EditText>
  105. </LinearLayout>
  106. <View
  107. android:layout_width="match_parent"
  108. android:layout_height="1dp"
  109. android:alpha="0.5"
  110. android:background="#d6d6d6" />
  111. </LinearLayout>
  112. <FrameLayout
  113. android:layout_width="match_parent"
  114. android:layout_height="wrap_content"
  115. android:layout_marginTop="10dp"
  116. android:layout_marginLeft="15dp"
  117. android:layout_marginRight="15dp">
  118. <TextView
  119. android:id="@+id/forget"
  120. android:layout_width="wrap_content"
  121. android:layout_height="wrap_content"
  122. android:text="@string/jm_forget_password"
  123. android:textColor="@color/jmfont_gray"
  124. android:textSize="18sp" />
  125. <TextView
  126. android:id="@+id/register"
  127. android:layout_width="wrap_content"
  128. android:layout_height="wrap_content"
  129. android:layout_gravity="end"
  130. android:text="@string/jm_register"
  131. android:textColor="@color/jmfont_blues"
  132. android:textSize="18sp" />
  133. </FrameLayout>
  134. <Button
  135. android:id="@+id/submit"
  136. android:layout_width="match_parent"
  137. android:layout_height="35dp"
  138. android:layout_marginLeft="15dp"
  139. android:layout_marginRight="15dp"
  140. android:layout_marginTop="10dp"
  141. android:background="@drawable/jm_blues_codebtn_style"
  142. android:textAllCaps="false"
  143. android:text="@string/user_bt_submit"
  144. android:textColor="@color/jmfont_white"
  145. android:textSize="16sp" />
  146. </LinearLayout>
  147. </LinearLayout>