jmuserregister_en.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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_margin="5dp"
  30. android:layout_marginTop="10dp"
  31. android:padding="5sp"
  32. android:text="@string/jm_register_title"
  33. android:textColor="@color/jmfont_black"
  34. android:textSize="22sp"/>
  35. </RelativeLayout>
  36. <LinearLayout
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:layout_gravity="center"
  40. android:layout_marginLeft="15dp"
  41. android:layout_marginRight="15dp"
  42. android:orientation="vertical">
  43. <LinearLayout
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:orientation="vertical">
  47. <TextView
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:textColor="@color/jmfont_black"
  51. android:textSize="18sp"
  52. android:text="@string/jm_user_name"/>
  53. <EditText
  54. android:id="@+id/email"
  55. android:nextFocusDown="@+id/password"
  56. android:layout_width="match_parent"
  57. android:layout_height="35dp"
  58. android:background="@null"
  59. android:gravity="center_vertical"
  60. android:hint="@string/jm_user_name_hint"
  61. android:imeOptions="actionNext"
  62. android:inputType="textEmailAddress"
  63. android:maxLength="25"
  64. android:singleLine="true"
  65. android:textColor="#000000"
  66. android:textColorHint="#d5dad3"
  67. android:textSize="18sp"></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"></EditText>
  104. </LinearLayout>
  105. <View
  106. android:layout_width="match_parent"
  107. android:layout_height="1dp"
  108. android:alpha="0.5"
  109. android:background="#d6d6d6"/>
  110. </LinearLayout>
  111. <FrameLayout
  112. android:layout_width="match_parent"
  113. android:layout_height="wrap_content"
  114. android:layout_marginTop="10dp"
  115. android:layout_marginLeft="15dp"
  116. android:layout_marginRight="15dp">
  117. <TextView
  118. android:id="@+id/visitor_login"
  119. android:layout_width="wrap_content"
  120. android:layout_height="wrap_content"
  121. android:text="@string/jm_visitor_login"
  122. android:textColor="@color/jmfont_gray"
  123. android:textSize="18sp"/>
  124. <TextView
  125. android:id="@+id/auto_login"
  126. android:layout_width="wrap_content"
  127. android:layout_height="wrap_content"
  128. android:layout_gravity="end"
  129. android:text="@string/jm_auto_login"
  130. android:textColor="@color/jmfont_blues"
  131. android:textSize="18sp"/>
  132. </FrameLayout>
  133. <Button
  134. android:id="@+id/submit"
  135. android:layout_width="match_parent"
  136. android:layout_height="35dp"
  137. android:layout_marginLeft="15dp"
  138. android:layout_marginRight="15dp"
  139. android:layout_marginTop="10dp"
  140. android:textAllCaps="false"
  141. android:background="@drawable/jm_blues_codebtn_style"
  142. android:text="@string/user_bt_submit"
  143. android:textColor="@color/jmfont_white"
  144. android:textSize="16sp"/>
  145. </LinearLayout>
  146. </LinearLayout>