activity_alter_password.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/default_bg">
  7. <include layout="@layout/view_title"/>
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:orientation="horizontal"
  12. android:background="@color/white">
  13. <ImageView
  14. android:layout_width="@dimen/company_20dp"
  15. android:layout_height="@dimen/company_20dp"
  16. android:src="@drawable/password_left_older"
  17. android:layout_gravity="center_vertical"
  18. android:layout_marginLeft="@dimen/default_content_margin"/>
  19. <EditText
  20. android:id="@+id/edit_pswwword_old"
  21. android:layout_width="match_parent"
  22. android:layout_height="@dimen/company_50dp"
  23. android:padding="@dimen/default_content_margin"
  24. android:layout_marginLeft="@dimen/company_5dp"
  25. android:background="@null"
  26. android:inputType="textPassword"
  27. android:hint="请输入旧密码"/>
  28. </LinearLayout>
  29. <include layout="@layout/view_default_line"/>
  30. <LinearLayout
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:orientation="horizontal"
  34. android:background="@color/white">
  35. <ImageView
  36. android:layout_width="@dimen/company_20dp"
  37. android:layout_height="@dimen/company_20dp"
  38. android:src="@drawable/password_left"
  39. android:layout_gravity="center_vertical"
  40. android:layout_marginLeft="@dimen/default_content_margin"/>
  41. <EditText
  42. android:id="@+id/edit_pswwword"
  43. android:layout_width="match_parent"
  44. android:layout_height="@dimen/company_50dp"
  45. android:padding="@dimen/default_content_margin"
  46. android:layout_marginLeft="@dimen/company_5dp"
  47. android:background="@null"
  48. android:inputType="textPassword"
  49. android:hint="请输入密码"/>
  50. </LinearLayout>
  51. <include layout="@layout/view_default_line"/>
  52. <LinearLayout
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:orientation="horizontal"
  56. android:background="@color/white">
  57. <ImageView
  58. android:layout_width="@dimen/company_20dp"
  59. android:layout_height="@dimen/company_20dp"
  60. android:src="@drawable/password_left"
  61. android:layout_gravity="center_vertical"
  62. android:layout_marginLeft="@dimen/default_content_margin"/>
  63. <EditText
  64. android:id="@+id/edit_pswwword_again"
  65. android:layout_width="match_parent"
  66. android:layout_height="@dimen/company_50dp"
  67. android:padding="@dimen/default_content_margin"
  68. android:layout_marginLeft="@dimen/company_5dp"
  69. android:background="@null"
  70. android:inputType="textPassword"
  71. android:hint="请再输入一次密码"/>
  72. </LinearLayout>
  73. <Button
  74. android:id="@+id/btn_save"
  75. android:layout_width="match_parent"
  76. android:layout_height="@dimen/company_50dp"
  77. android:layout_marginTop="@dimen/company_20dp"
  78. android:layout_margin="@dimen/default_content_margin"
  79. android:background="@drawable/shape_default_btn_bg"
  80. android:textColor="@color/white"
  81. android:textSize="@dimen/company_16sp"
  82. android:text="保存"/>
  83. </LinearLayout>