ss_user_register.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:id="@+id/content_view"
  6. android:layout_width="@dimen/ss_login_width"
  7. android:layout_height="@dimen/ss_login_height_old"
  8. android:background="@drawable/ss_loginb"
  9. android:orientation="vertical" >
  10. <RelativeLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="80dp"
  13. android:orientation="vertical" >
  14. <ImageView
  15. android:id="@+id/back"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_centerVertical="true"
  19. android:layout_marginLeft="25dp"
  20. android:layout_marginTop="15dp"
  21. android:src="@drawable/ss_back" />
  22. <TextView
  23. android:layout_width="wrap_content"
  24. android:layout_height="40dp"
  25. android:layout_centerHorizontal="true"
  26. android:layout_centerVertical="true"
  27. android:layout_margin="5dp"
  28. android:layout_marginTop="10dp"
  29. android:padding="5sp"
  30. android:text="@string/ss_account_register"
  31. android:textColor="@color/ss_font_black"
  32. android:textSize="22sp" />
  33. </RelativeLayout>
  34. <LinearLayout
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:paddingLeft="@dimen/ss_login_content_padding"
  38. android:paddingRight="@dimen/ss_login_content_padding"
  39. android:orientation="vertical">
  40. <LinearLayout
  41. android:layout_width="match_parent"
  42. android:layout_height="40dp"
  43. android:gravity="center_vertical"
  44. android:background="@drawable/ss_input_bg">
  45. <ImageView
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:layout_marginLeft="20dp"
  49. android:src="@drawable/ss_account"/>
  50. <EditText
  51. android:id="@+id/edit_usera"
  52. android:layout_width="match_parent"
  53. android:layout_height="35dp"
  54. android:layout_marginLeft="13dp"
  55. android:background="@null"
  56. android:gravity="center_vertical"
  57. android:hint="@string/ss_user_edit_hint"
  58. android:imeOptions="flagNoExtractUi"
  59. android:cursorVisible="true"
  60. android:textCursorDrawable="@null"
  61. android:inputType="text"
  62. android:maxLength="22"
  63. android:nextFocusForward="@+id/edit_pwa"
  64. android:singleLine="true"
  65. android:textColor="#000000"
  66. android:textColorHint="#d5dad3"
  67. android:textSize="16sp" >
  68. </EditText>
  69. </LinearLayout>
  70. <LinearLayout
  71. android:layout_width="match_parent"
  72. android:layout_height="40dp"
  73. android:gravity="center_vertical"
  74. android:layout_marginTop="10dp"
  75. android:background="@drawable/ss_input_bg">
  76. <ImageView
  77. android:layout_width="wrap_content"
  78. android:layout_height="wrap_content"
  79. android:layout_marginLeft="20dp"
  80. android:src="@drawable/ss_password"/>
  81. <EditText
  82. android:id="@+id/edit_pwa"
  83. android:layout_width="match_parent"
  84. android:layout_height="35dp"
  85. android:layout_marginLeft="13dp"
  86. android:background="@null"
  87. android:gravity="center_vertical"
  88. android:hint="@string/ss_user_edit_pwdhint"
  89. android:imeOptions="flagNoExtractUi"
  90. android:cursorVisible="true"
  91. android:textCursorDrawable="@null"
  92. android:inputType="textPassword"
  93. android:maxLength="22"
  94. android:nextFocusForward="@+id/edit_pwa2"
  95. android:singleLine="true"
  96. android:textColor="#000000"
  97. android:textColorHint="#d5dad3"
  98. android:textSize="16sp" >
  99. </EditText>
  100. </LinearLayout>
  101. <LinearLayout
  102. android:layout_width="match_parent"
  103. android:layout_height="40dp"
  104. android:gravity="center_vertical"
  105. android:layout_marginTop="10dp"
  106. android:background="@drawable/ss_input_bg">
  107. <ImageView
  108. android:layout_width="wrap_content"
  109. android:layout_height="wrap_content"
  110. android:layout_marginLeft="20dp"
  111. android:src="@drawable/ss_password"/>
  112. <EditText
  113. android:id="@+id/edit_pwa2"
  114. android:layout_width="match_parent"
  115. android:layout_height="35dp"
  116. android:layout_marginLeft="13dp"
  117. android:background="@null"
  118. android:gravity="center_vertical"
  119. android:hint="@string/ss_user_edit_pwdhint_again"
  120. android:imeOptions="flagNoExtractUi|actionDone"
  121. android:cursorVisible="true"
  122. android:textCursorDrawable="@null"
  123. android:inputType="textPassword"
  124. android:maxLength="22"
  125. android:singleLine="true"
  126. android:textColor="#000000"
  127. android:textColorHint="#d5dad3"
  128. android:textSize="16sp" >
  129. </EditText>
  130. </LinearLayout>
  131. <Button
  132. android:id="@+id/btsubmit"
  133. android:layout_width="match_parent"
  134. android:layout_height="40dp"
  135. android:layout_marginTop="10dp"
  136. android:background="@drawable/ss_button"
  137. android:text="@string/ss_register_button"
  138. android:textColor="@color/ss_font_white" />
  139. <TextView
  140. android:id="@+id/service"
  141. android:layout_width="wrap_content"
  142. android:layout_height="25dp"
  143. android:layout_marginTop="5dp"
  144. tools:text="@string/ss_user_text_my"
  145. android:textColor="@color/ss_font_gray"
  146. android:textSize="16sp" />
  147. </LinearLayout>
  148. </LinearLayout>