activity_alter_phonenumber.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. <TextView
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. android:padding="@dimen/default_content_margin"
  12. android:textColor="@color/color_666"
  13. android:text="请输入您需要绑定的新手机号"/>
  14. <RelativeLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:padding="@dimen/default_content_margin"
  18. android:background="@color/white">
  19. <TextView
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:textSize="@dimen/company_16sp"
  23. android:textColor="@color/color_333"
  24. android:text="国家和地区"/>
  25. <TextView
  26. android:id="@+id/edit_username"
  27. android:layout_width="wrap_content"
  28. android:layout_height="20dp"
  29. android:layout_alignParentRight="true"
  30. android:layout_centerVertical="true"
  31. android:textColor="@color/color_333"
  32. android:text="中国大陆86"/>
  33. </RelativeLayout>
  34. <include layout="@layout/view_default_line"/>
  35. <LinearLayout
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:padding="@dimen/default_content_margin"
  39. android:background="@color/white"
  40. android:orientation="horizontal">
  41. <TextView
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:textSize="@dimen/company_16sp"
  45. android:textColor="@color/color_333"
  46. android:text="新手机号"/>
  47. <EditText
  48. android:id="@+id/edit_phone_number"
  49. android:layout_width="wrap_content"
  50. android:layout_height="20dp"
  51. android:layout_gravity="center_vertical"
  52. android:layout_marginLeft="@dimen/company_10dp"
  53. android:background="@null"
  54. android:inputType="phone"
  55. android:textSize="@dimen/company_16sp"
  56. android:hint="请输入身份证号"/>
  57. </LinearLayout>
  58. <TextView
  59. android:id="@+id/tv_hint"
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:textSize="@dimen/company_12sp"
  63. android:padding="@dimen/company_10dp"
  64. android:textColor="@color/color_999"/>
  65. <Button
  66. android:id="@+id/btn_next"
  67. android:layout_width="match_parent"
  68. android:layout_height="@dimen/company_50dp"
  69. android:layout_marginTop="@dimen/company_20dp"
  70. android:layout_marginLeft="@dimen/default_content_margin"
  71. android:layout_marginRight="@dimen/default_content_margin"
  72. android:background="@drawable/shape_default_btn_bg"
  73. android:textColor="@color/white"
  74. android:textSize="@dimen/company_16sp"
  75. android:text="下一步"/>
  76. </LinearLayout>