activity_forget.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical">
  6. <android.support.design.widget.AppBarLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:theme="@style/AppTheme.NoActionBar.AppBarOverlay">
  10. <com.sheishuo.app.common.views.BaseToolbar
  11. android:id="@+id/toolbar"
  12. style="@style/fullToolbarStyle"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content" />
  15. </android.support.design.widget.AppBarLayout>
  16. <LinearLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:orientation="vertical">
  20. <RelativeLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:padding="15dp">
  24. <TextView
  25. android:layout_width="80dp"
  26. android:layout_height="wrap_content"
  27. android:text="手机号"
  28. android:textColor="@color/black"
  29. android:textSize="18sp" />
  30. <EditText
  31. android:id="@+id/mobile_txt"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:layout_marginLeft="90dp"
  35. android:background="@null"
  36. android:ems="10"
  37. android:hint="输入手机号"
  38. android:inputType="phone" />
  39. </RelativeLayout>
  40. <View
  41. android:layout_width="match_parent"
  42. android:layout_height="1dp"
  43. android:background="@color/grey_light" />
  44. <RelativeLayout
  45. android:layout_width="match_parent"
  46. android:layout_height="match_parent"
  47. android:padding="15dp">
  48. <TextView
  49. android:layout_width="80dp"
  50. android:layout_height="wrap_content"
  51. android:text="验证码"
  52. android:textColor="@color/black"
  53. android:textSize="18sp" />
  54. <EditText
  55. android:id="@+id/code_txt"
  56. android:layout_width="match_parent"
  57. android:layout_height="wrap_content"
  58. android:layout_marginLeft="90dp"
  59. android:layout_marginRight="110dp"
  60. android:background="@null"
  61. android:ems="10"
  62. android:hint="输入验证码"
  63. android:inputType="number" />
  64. <LinearLayout
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content"
  67. android:gravity="right"
  68. android:orientation="horizontal">
  69. <View
  70. android:id="@+id/view3"
  71. android:layout_width="1dp"
  72. android:layout_height="18dp"
  73. android:background="@color/grey_light" />
  74. <Button
  75. android:id="@+id/send_code_btn"
  76. android:layout_width="100dp"
  77. android:layout_height="20dp"
  78. android:background="@null"
  79. android:text="获取验证码"
  80. android:textColor="@color/color_green_00ae8c"
  81. android:textSize="16sp" />
  82. </LinearLayout>
  83. </RelativeLayout>
  84. <View
  85. android:layout_width="match_parent"
  86. android:layout_height="1dp"
  87. android:background="@color/grey_light" />
  88. <RelativeLayout
  89. android:layout_width="match_parent"
  90. android:layout_height="match_parent"
  91. android:padding="15dp">
  92. <TextView
  93. android:layout_width="80dp"
  94. android:layout_height="wrap_content"
  95. android:text="密码"
  96. android:textColor="@color/black"
  97. android:textSize="18sp" />
  98. <EditText
  99. android:id="@+id/pwd_txt"
  100. android:layout_width="match_parent"
  101. android:layout_height="wrap_content"
  102. android:layout_marginLeft="90dp"
  103. android:background="@null"
  104. android:ems="10"
  105. android:hint="输入8位以上新密码"
  106. android:inputType="textPassword" />
  107. </RelativeLayout>
  108. <View
  109. android:layout_width="match_parent"
  110. android:layout_height="1dp"
  111. android:background="@color/grey_light" />
  112. <RelativeLayout
  113. android:layout_width="match_parent"
  114. android:layout_height="match_parent"
  115. android:padding="15dp">
  116. <TextView
  117. android:layout_width="80dp"
  118. android:layout_height="wrap_content"
  119. android:text="确认密码"
  120. android:textColor="@color/black"
  121. android:textSize="18sp" />
  122. <EditText
  123. android:id="@+id/confirm_txt"
  124. android:layout_width="match_parent"
  125. android:layout_height="wrap_content"
  126. android:layout_marginLeft="90dp"
  127. android:background="@null"
  128. android:ems="10"
  129. android:hint="再输一次密码"
  130. android:inputType="textPassword" />
  131. </RelativeLayout>
  132. <View
  133. android:layout_width="match_parent"
  134. android:layout_height="1dp"
  135. android:background="@color/grey_light" />
  136. </LinearLayout>
  137. </LinearLayout>