activity_find_pwd.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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:background="@color/white">
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:paddingLeft="@dimen/default_content_margin"
  11. android:paddingTop="@dimen/default_content_margin"
  12. android:paddingRight="@dimen/default_content_margin">
  13. <ImageView
  14. android:id="@+id/iv_cancel"
  15. android:layout_width="@dimen/company_20dp"
  16. android:layout_height="@dimen/company_20dp"
  17. android:src="@drawable/login_cancel_icon" />
  18. <TextView
  19. android:id="@+id/tv_login"
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_alignParentRight="true"
  23. android:text="登录"
  24. android:textColor="@color/main_color"
  25. android:textSize="@dimen/company_18sp" />
  26. </RelativeLayout>
  27. <LinearLayout
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:layout_marginTop="@dimen/company_30dp"
  31. android:gravity="center_horizontal"
  32. android:orientation="vertical">
  33. <ImageView
  34. android:layout_width="62dp"
  35. android:layout_height="62dp"
  36. android:src="@drawable/logo" />
  37. <TextView
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_marginTop="@dimen/company_6dp"
  41. android:text="灌 灌 在 线"
  42. android:textColor="@color/main_color"
  43. android:textSize="@dimen/company_18sp"
  44. android:textStyle="bold"/>
  45. </LinearLayout>
  46. <LinearLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:orientation="vertical"
  50. android:paddingLeft="@dimen/company_15dp"
  51. android:paddingTop="@dimen/company_15dp"
  52. android:paddingRight="@dimen/company_15dp">
  53. <EditText
  54. android:id="@+id/edit_phone_number"
  55. android:layout_width="match_parent"
  56. android:layout_height="@dimen/company_50dp"
  57. android:layout_marginTop="@dimen/company_10dp"
  58. android:background="@drawable/shapre_default_edit_bg"
  59. android:hint="请输入手机号"
  60. android:maxLines="1"
  61. android:textCursorDrawable="@null"
  62. android:textSize="@dimen/company_14sp" />
  63. <RelativeLayout
  64. android:layout_width="match_parent"
  65. android:layout_height="@dimen/company_50dp"
  66. android:layout_marginTop="@dimen/company_20dp"
  67. android:background="@drawable/shapre_default_edit_bg">
  68. <EditText
  69. android:id="@+id/edit_verify_code"
  70. android:layout_width="match_parent"
  71. android:layout_height="match_parent"
  72. android:hint="请输入验证码"
  73. android:maxLines="1"
  74. android:layout_toLeftOf="@+id/tv_verifycode"
  75. android:textCursorDrawable="@null"
  76. android:textSize="@dimen/company_14sp"
  77. android:background="@null"/>
  78. <TextView
  79. android:id="@+id/tv_verifycode"
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:layout_centerVertical="true"
  83. android:layout_alignParentRight="true"
  84. android:textSize="@dimen/company_14sp"
  85. android:textColor="@color/main_color"
  86. android:text="获取手机验证码"/>
  87. </RelativeLayout>
  88. </LinearLayout>
  89. <Button
  90. android:id="@+id/btn_next"
  91. android:layout_width="match_parent"
  92. android:layout_height="@dimen/company_50dp"
  93. android:layout_marginTop="@dimen/company_20dp"
  94. android:background="@drawable/shape_default_btn_bg"
  95. android:layout_marginLeft="@dimen/default_content_margin"
  96. android:layout_marginRight="@dimen/default_content_margin"
  97. android:textColor="@color/white"
  98. android:textSize="@dimen/company_16sp"
  99. android:text="下一步"/>
  100. </LinearLayout>