tysdkn_fragment_bind_phone.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="#ffffff"
  7. android:orientation="vertical">
  8. <RelativeLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="48dp"
  11. android:background="#ff1f2228">
  12. <ImageView
  13. android:id="@+id/tysdkn_bind_phone_back"
  14. android:layout_width="48dp"
  15. android:layout_height="48dp"
  16. android:padding="15dp"
  17. android:layout_centerVertical="true"
  18. android:src="@drawable/tysdkn_recahrge_back_left" />
  19. <TextView
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_centerInParent="true"
  23. android:text="绑定手机"
  24. android:textColor="#ffffff"
  25. android:textSize="16sp" />
  26. </RelativeLayout>
  27. <LinearLayout
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:orientation="vertical"
  31. android:padding="15dp"
  32. tools:background="#ffffff">
  33. <EditText
  34. android:id="@+id/tysdkn_et_phone_number"
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:layout_marginTop="12dp"
  38. android:background="@null"
  39. android:drawableLeft="@drawable/tysdkn_phone"
  40. android:hint="输入手机号"
  41. android:gravity="center_vertical"
  42. android:paddingTop="5dp"
  43. android:drawablePadding="10dp"
  44. android:inputType="number"
  45. android:maxLines="1"
  46. android:textSize="13sp" />
  47. <View
  48. android:layout_width="match_parent"
  49. android:layout_height="0.5dp"
  50. android:layout_marginTop="10dp"
  51. android:background="#FFDCDCDC" />
  52. <LinearLayout
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:orientation="vertical">
  56. <LinearLayout
  57. android:layout_width="match_parent"
  58. android:layout_height="wrap_content"
  59. android:layout_marginTop="25dp"
  60. android:orientation="horizontal">
  61. <EditText
  62. android:id="@+id/tysdkn_et_code"
  63. android:layout_width="0dp"
  64. android:layout_height="wrap_content"
  65. android:layout_gravity="center_vertical"
  66. android:layout_weight="1"
  67. android:background="@null"
  68. android:paddingTop="5dp"
  69. android:hint="输入验证码"
  70. android:inputType="textVisiblePassword"
  71. android:maxLines="1"
  72. android:textSize="13sp" />
  73. <Button
  74. android:id="@+id/tysdkn_btn_get_code"
  75. android:layout_width="55dp"
  76. android:layout_height="22dp"
  77. android:layout_gravity="center_vertical"
  78. android:background="@drawable/tysdkn_btn_yuanjiao_1"
  79. android:text="获取验证码"
  80. android:textColor="#ffffff"
  81. android:textSize="10sp" />
  82. </LinearLayout>
  83. <View
  84. android:layout_width="match_parent"
  85. android:layout_height="0.5dp"
  86. android:layout_marginTop="10dp"
  87. android:background="#FFDCDCDC" />
  88. </LinearLayout>
  89. </LinearLayout>
  90. <Button
  91. android:id="@+id/tysdkn_btn_bind_phone"
  92. android:layout_width="match_parent"
  93. android:layout_height="38dp"
  94. android:layout_marginLeft="15dp"
  95. android:layout_marginRight="15dp"
  96. android:layout_gravity="center_horizontal"
  97. android:layout_marginTop="25dp"
  98. android:background="@drawable/tysdkn_btn_blue_selector"
  99. android:text="立即绑定"
  100. android:textColor="#ffffff"
  101. android:textSize="16sp" />
  102. </LinearLayout>