d3ae320eb847cc9bdd9cfc49a48fe9691257162b.svn-base 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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:textColorHint="#FFCED2D9"
  57. android:textSize="17.2dp" />
  58. <TextView
  59. android:layout_width="match_parent"
  60. android:layout_height="0.5dp"
  61. android:layout_marginTop="8dp"
  62. android:background="#FFCED2D9" />
  63. </LinearLayout>
  64. <LinearLayout
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content"
  67. android:layout_below="@id/login_ll_phone"
  68. android:layout_marginLeft="18dp"
  69. android:layout_marginTop="23dp"
  70. android:layout_marginRight="18dp"
  71. android:orientation="vertical">
  72. <LinearLayout
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:orientation="horizontal">
  76. <ImageView
  77. android:layout_width="20dp"
  78. android:layout_height="20dp"
  79. android:src="@mipmap/iv_loginpwd_icon" />
  80. <TextView
  81. android:layout_width="wrap_content"
  82. android:layout_height="wrap_content"
  83. android:layout_marginLeft="8dp"
  84. android:text="@string/login_pwd"
  85. android:textSize="15.36sp" />
  86. </LinearLayout>
  87. <LinearLayout
  88. android:layout_width="match_parent"
  89. android:layout_height="wrap_content"
  90. android:orientation="horizontal">
  91. <com.hjq.widget.ClearEditText
  92. android:id="@+id/login_et_pwd"
  93. android:layout_width="0dp"
  94. android:layout_height="wrap_content"
  95. android:layout_marginLeft="28dp"
  96. android:layout_marginTop="17dp"
  97. android:layout_weight="3.8"
  98. android:background="@null"
  99. android:maxLength="20"
  100. android:maxLines="1"
  101. android:inputType="textPassword"
  102. android:hint="@string/login_password_hint"
  103. android:textColorHint="#FFCED2D9"
  104. android:textSize="17.2dp" />
  105. <TextView
  106. android:id="@+id/login_tv_forgetpwd"
  107. android:layout_width="0dp"
  108. android:layout_height="wrap_content"
  109. android:layout_marginTop="18dp"
  110. android:layout_weight="1.2"
  111. android:text="@string/login_forget"
  112. android:lines="1"
  113. android:textColor="#FF0091FB"
  114. android:textSize="13sp" />
  115. </LinearLayout>
  116. <TextView
  117. android:layout_width="match_parent"
  118. android:layout_height="0.5dp"
  119. android:layout_marginTop="8dp"
  120. android:background="#FFCED2D9" />
  121. </LinearLayout>
  122. </eVVM.apk.widget.RoundRectLayout>
  123. <Button
  124. android:id="@+id/login_btn_login"
  125. android:layout_width="282dp"
  126. android:layout_height="52dp"
  127. android:layout_gravity="center_horizontal"
  128. android:layout_marginTop="-28dp"
  129. android:background="@drawable/selector_button"
  130. android:text="@string/login_text"
  131. android:textColor="@color/white"
  132. android:textSize="15.3sp" />
  133. <TextView
  134. android:id="@+id/login_tv_goregist"
  135. android:layout_width="wrap_content"
  136. android:layout_height="wrap_content"
  137. android:layout_gravity="center_horizontal"
  138. android:layout_marginTop="87.4dp"
  139. android:text="@string/login_register"
  140. android:textColor="#0091FB"
  141. android:textSize="13.4sp" />
  142. </LinearLayout>