ss_phone_register.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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_user_text_title"
  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_account"
  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="actionNext"
  59. android:inputType="text"
  60. android:maxLength="22"
  61. android:nextFocusForward="@+id/edit_pwa"
  62. android:singleLine="true"
  63. android:textColor="#000000"
  64. android:textColorHint="#d5dad3"
  65. android:textSize="16sp" >
  66. </EditText>
  67. </LinearLayout>
  68. <LinearLayout
  69. android:layout_width="match_parent"
  70. android:layout_height="40dp"
  71. android:layout_marginTop="10dp"
  72. android:gravity="center_vertical"
  73. android:background="@drawable/ss_input_bg">
  74. <ImageView
  75. android:layout_width="wrap_content"
  76. android:layout_height="wrap_content"
  77. android:layout_marginLeft="20dp"
  78. android:src="@drawable/ss_phone"/>
  79. <EditText
  80. android:id="@+id/edit_usera"
  81. android:layout_width="match_parent"
  82. android:layout_height="35dp"
  83. android:layout_marginLeft="13dp"
  84. android:background="@null"
  85. android:gravity="center_vertical"
  86. android:hint="@string/ss_moblie_edit_hint"
  87. android:imeOptions="actionNext"
  88. android:inputType="number"
  89. android:maxLength="11"
  90. android:nextFocusForward="@+id/edit_pwa"
  91. android:singleLine="true"
  92. android:textColor="#000000"
  93. android:textColorHint="#d5dad3"
  94. android:textSize="16sp" >
  95. </EditText>
  96. </LinearLayout>
  97. <LinearLayout
  98. android:layout_width="match_parent"
  99. android:layout_height="40dp"
  100. android:gravity="center_vertical"
  101. android:layout_marginTop="10dp"
  102. android:background="@drawable/ss_input_bg">
  103. <ImageView
  104. android:layout_width="wrap_content"
  105. android:layout_height="wrap_content"
  106. android:layout_marginLeft="20dp"
  107. android:src="@drawable/ss_code"/>
  108. <EditText
  109. android:id="@+id/edit_code"
  110. android:layout_width="0dp"
  111. android:layout_weight="1"
  112. android:layout_height="35dp"
  113. android:layout_marginLeft="13dp"
  114. android:background="@null"
  115. android:gravity="center_vertical"
  116. android:hint="@string/ss_moblie_edit_code_hint"
  117. android:imeOptions="actionNext"
  118. android:inputType="text"
  119. android:maxLength="22"
  120. android:nextFocusForward="@+id/edit_pwa"
  121. android:singleLine="true"
  122. android:textColor="#000000"
  123. android:textColorHint="#d5dad3"
  124. android:textSize="16sp" >
  125. </EditText>
  126. <Button
  127. android:id="@+id/ibcode"
  128. android:layout_width="80dp"
  129. android:layout_height="40dp"
  130. android:background="@drawable/ss_button"
  131. android:textSize="12sp"
  132. android:text="@string/ss_moblie_bt_code"
  133. android:textColor="@color/ss_font_white" />
  134. </LinearLayout>
  135. <LinearLayout
  136. android:layout_width="match_parent"
  137. android:layout_height="40dp"
  138. android:gravity="center_vertical"
  139. android:layout_marginTop="10dp"
  140. android:background="@drawable/ss_input_bg">
  141. <ImageView
  142. android:layout_width="wrap_content"
  143. android:layout_height="wrap_content"
  144. android:layout_marginLeft="20dp"
  145. android:src="@drawable/ss_password"/>
  146. <EditText
  147. android:id="@+id/edit_pwa"
  148. android:layout_width="match_parent"
  149. android:layout_height="35dp"
  150. android:layout_marginLeft="13dp"
  151. android:background="@null"
  152. android:gravity="center_vertical"
  153. android:hint="@string/ss_user_edit_hint"
  154. android:imeOptions="actionNext"
  155. android:inputType="text"
  156. android:maxLength="22"
  157. android:nextFocusForward="@+id/edit_pwa"
  158. android:singleLine="true"
  159. android:textColor="#000000"
  160. android:textColorHint="#d5dad3"
  161. android:textSize="16sp" >
  162. </EditText>
  163. </LinearLayout>
  164. <Button
  165. android:id="@+id/btsubmit"
  166. android:layout_width="match_parent"
  167. android:layout_height="40dp"
  168. android:layout_marginTop="10dp"
  169. android:background="@drawable/ss_button"
  170. android:text="@string/ss_register_button"
  171. android:textColor="@color/ss_font_white" />
  172. <TextView
  173. android:id="@+id/service"
  174. android:layout_width="wrap_content"
  175. android:layout_height="25dp"
  176. android:layout_marginTop="5dp"
  177. tools:text="@string/ss_user_text_my"
  178. android:textColor="@color/ss_font_gray"
  179. android:textSize="16sp" />
  180. </LinearLayout>
  181. </LinearLayout>