activity_check_modify_phonenum.xml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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:background="@color/color_f6f8f9"
  8. android:orientation="vertical"
  9. tools:ignore="MissingDefaultResource">
  10. <include
  11. android:id="@+id/toolbar_include"
  12. layout="@layout/common_toolbar_layout" />
  13. <androidx.constraintlayout.widget.ConstraintLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:layout_marginTop="15dp"
  17. android:background="@color/white">
  18. <EditText
  19. android:id="@+id/et_phone_num"
  20. android:layout_width="match_parent"
  21. android:layout_height="@dimen/dp_48"
  22. android:background="@null"
  23. android:gravity="center_vertical"
  24. android:hint="请输当前手机号"
  25. android:inputType="phone"
  26. android:paddingLeft="14dp"
  27. android:paddingRight="14dp"
  28. android:maxLength="11"
  29. android:textColor="@color/color_1a1a1a"
  30. android:textColorHint="@color/color_999999"
  31. android:textSize="@dimen/sp_16"
  32. app:layout_constraintLeft_toLeftOf="parent"
  33. app:layout_constraintTop_toTopOf="parent" />
  34. <View
  35. android:id="@+id/view_line"
  36. android:layout_width="match_parent"
  37. android:layout_height="1px"
  38. android:layout_marginLeft="12dp"
  39. android:background="@color/divide_color_f0f0f0"
  40. app:layout_constraintLeft_toLeftOf="parent"
  41. app:layout_constraintTop_toBottomOf="@+id/et_phone_num" />
  42. <EditText
  43. android:id="@+id/et_password"
  44. android:layout_width="match_parent"
  45. android:layout_height="@dimen/dp_48"
  46. android:background="@null"
  47. android:gravity="center_vertical"
  48. android:hint="请输入密码"
  49. android:inputType="text"
  50. android:paddingLeft="14dp"
  51. android:paddingRight="14dp"
  52. android:textColor="@color/color_1a1a1a"
  53. android:textColorHint="@color/color_999999"
  54. android:textSize="@dimen/sp_16"
  55. app:layout_constraintLeft_toLeftOf="parent"
  56. app:layout_constraintTop_toBottomOf="@+id/view_line" />
  57. </androidx.constraintlayout.widget.ConstraintLayout>
  58. <TextView
  59. android:id="@+id/tv_confirm"
  60. android:layout_width="match_parent"
  61. android:layout_height="44dp"
  62. android:layout_marginLeft="28dp"
  63. android:layout_marginTop="20dp"
  64. android:layout_marginRight="28dp"
  65. android:layout_marginBottom="48dp"
  66. android:background="@drawable/shape_course_status_ing"
  67. android:gravity="center"
  68. android:text="确定"
  69. android:textColor="@color/white"
  70. android:textSize="@dimen/sp_14" />
  71. </LinearLayout>