8eff5808faf022ded1953e282599bad17b5459a3.svn-base 6.2 KB

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