833f65b4a2a3df57e66011fd37114bede9ae3a41.svn-base 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:id="@+id/login_scrollview"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:fillViewport="true"
  8. android:orientation="vertical"
  9. android:paddingTop="10dp"
  10. android:scrollbars="none"
  11. tools:context=".ui.login.LoginActivity">
  12. <LinearLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. android:orientation="vertical">
  16. <ImageView
  17. android:layout_width="221dp"
  18. android:layout_height="78dp"
  19. android:layout_gravity="center_horizontal"
  20. android:layout_marginTop="100dp"
  21. android:src="@mipmap/iv_launcher_icon" />
  22. <eVVM.apk.widget.RoundRectLayout
  23. android:layout_width="322dp"
  24. android:layout_height="236dp"
  25. android:layout_gravity="center_horizontal"
  26. android:layout_marginTop="52dp"
  27. android:background="@color/white">
  28. <LinearLayout
  29. android:id="@+id/login_ll_phone"
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:layout_marginLeft="18dp"
  33. android:layout_marginTop="22dp"
  34. android:layout_marginRight="18dp"
  35. android:orientation="vertical">
  36. <LinearLayout
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:orientation="horizontal">
  40. <ImageView
  41. android:layout_width="20dp"
  42. android:layout_height="20dp"
  43. android:src="@mipmap/iv_login_phonenum_icon" />
  44. <TextView
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:layout_marginLeft="8dp"
  48. android:text="@string/login_phone"
  49. android:textSize="15.36sp" />
  50. </LinearLayout>
  51. <com.hjq.widget.ClearEditText
  52. android:id="@+id/login_et_phone"
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:layout_marginLeft="28dp"
  56. android:layout_marginTop="17dp"
  57. android:background="@null"
  58. android:hint="@string/login_phone_hint"
  59. android:inputType="phone"
  60. android:maxLength="11"
  61. android:maxLines="1"
  62. android:text=""
  63. android:textColorHint="#FFCED2D9"
  64. android:textSize="17.2dp" />
  65. <TextView
  66. android:layout_width="match_parent"
  67. android:layout_height="0.5dp"
  68. android:layout_marginTop="8dp"
  69. android:background="#FFCED2D9" />
  70. </LinearLayout>
  71. <LinearLayout
  72. android:layout_width="match_parent"
  73. android:layout_height="wrap_content"
  74. android:layout_below="@id/login_ll_phone"
  75. android:layout_marginLeft="18dp"
  76. android:layout_marginTop="23dp"
  77. android:layout_marginRight="18dp"
  78. android:orientation="vertical">
  79. <LinearLayout
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:orientation="horizontal">
  83. <ImageView
  84. android:layout_width="20dp"
  85. android:layout_height="20dp"
  86. android:src="@mipmap/iv_loginpwd_icon" />
  87. <TextView
  88. android:layout_width="wrap_content"
  89. android:layout_height="wrap_content"
  90. android:layout_marginLeft="8dp"
  91. android:text="@string/login_pwd"
  92. android:textSize="15.36sp" />
  93. </LinearLayout>
  94. <LinearLayout
  95. android:layout_width="match_parent"
  96. android:layout_height="wrap_content"
  97. android:orientation="horizontal">
  98. <com.hjq.widget.PasswordEditText
  99. android:id="@+id/login_et_pwd"
  100. android:layout_width="0dp"
  101. android:layout_height="wrap_content"
  102. android:layout_marginLeft="28dp"
  103. android:layout_marginTop="17dp"
  104. android:layout_weight="3.8"
  105. android:background="@null"
  106. android:hint="@string/login_password_hint"
  107. android:inputType="textPassword"
  108. android:maxLength="20"
  109. android:maxLines="1"
  110. android:text=""
  111. android:textColorHint="#FFCED2D9"
  112. android:textSize="17.2dp" />
  113. <TextView
  114. android:id="@+id/login_tv_forgetpwd"
  115. android:layout_width="0dp"
  116. android:layout_height="wrap_content"
  117. android:layout_marginTop="18dp"
  118. android:layout_weight="1.2"
  119. android:lines="1"
  120. android:text="@string/login_forget"
  121. android:textColor="#FF0091FB"
  122. android:textSize="13sp" />
  123. </LinearLayout>
  124. <TextView
  125. android:layout_width="match_parent"
  126. android:layout_height="0.5dp"
  127. android:layout_marginTop="8dp"
  128. android:background="#FFCED2D9" />
  129. </LinearLayout>
  130. </eVVM.apk.widget.RoundRectLayout>
  131. <Button
  132. android:id="@+id/login_btn_login"
  133. android:layout_width="282dp"
  134. android:layout_height="52dp"
  135. android:layout_gravity="center_horizontal"
  136. android:layout_marginTop="-28dp"
  137. android:background="@drawable/selector_button"
  138. android:text="@string/login_text"
  139. android:textColor="@color/white"
  140. android:textSize="15.3sp" />
  141. <LinearLayout
  142. android:id="@+id/examine_ll"
  143. android:layout_width="wrap_content"
  144. android:layout_height="wrap_content"
  145. android:layout_below="@id/examine_tv"
  146. android:layout_gravity="center_horizontal"
  147. android:layout_marginTop="10dp">
  148. <CheckBox
  149. android:id="@+id/examine_cb_agree"
  150. android:layout_width="wrap_content"
  151. android:layout_height="wrap_content"
  152. android:layout_gravity="center_vertical" />
  153. <TextView
  154. android:id="@+id/examine_tv_protocol"
  155. android:layout_width="wrap_content"
  156. android:layout_height="wrap_content"
  157. android:layout_gravity="center_vertical"
  158. android:text="@string/tv_examine_protocol" />
  159. </LinearLayout>
  160. <TextView
  161. android:id="@+id/login_tv_goregist"
  162. android:layout_width="wrap_content"
  163. android:layout_height="wrap_content"
  164. android:layout_gravity="center_horizontal"
  165. android:layout_marginTop="40dp"
  166. android:layout_marginBottom="300dp"
  167. android:text="@string/login_register"
  168. android:textColor="#0091FB"
  169. android:textSize="13.4sp" />
  170. </LinearLayout>
  171. </ScrollView>