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