dialog_input_phone.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="280dp"
  4. android:layout_height="wrap_content"
  5. android:layout_gravity="center"
  6. android:background="@drawable/shape_ffffff_8dp"
  7. xmlns:app="http://schemas.android.com/apk/res-auto"
  8. android:gravity="center_horizontal"
  9. android:paddingTop="20dp"
  10. android:orientation="vertical" >
  11. <com.yihucha.hbyhc.view.BoldText
  12. android:id="@+id/confirm_title"
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:textColor="#000000"
  16. android:textSize="18sp"
  17. android:text="填写邀请人手机号"
  18. android:visibility="visible" />
  19. <LinearLayout
  20. android:id="@+id/confirm_content"
  21. android:layout_width="match_parent"
  22. android:layout_height="43dp"
  23. android:layout_marginTop="16dp"
  24. android:layout_marginLeft="13dp"
  25. android:layout_marginRight="13dp"
  26. android:layout_marginBottom="16dp"
  27. android:background="@drawable/shape_line_999999_3d5dp"
  28. android:orientation="horizontal">
  29. <EditText
  30. android:id="@+id/et_phone"
  31. android:layout_width="match_parent"
  32. android:layout_height="match_parent"
  33. android:background="@null"
  34. android:textSize="13sp"
  35. android:maxLength="11"
  36. android:inputType="number"
  37. android:paddingLeft="12.5dp"
  38. android:paddingRight="12.5dp"
  39. android:hint="请输入邀请人手机号"/>
  40. </LinearLayout>
  41. <View
  42. android:layout_width="match_parent"
  43. android:layout_height="0.5dp"
  44. android:background="@color/gray_e5e5e5" />
  45. <LinearLayout
  46. android:layout_width="match_parent"
  47. android:layout_height="44dp"
  48. android:orientation="horizontal" >
  49. <TextView
  50. android:id="@+id/confirm_negative"
  51. android:layout_width="0dp"
  52. android:layout_height="match_parent"
  53. android:layout_weight="1"
  54. android:gravity="center"
  55. android:text="@string/cancel"
  56. android:textColor="@color/black_333333"
  57. android:textSize="18sp" />
  58. <View
  59. android:id="@+id/line"
  60. android:layout_width="0.5dp"
  61. android:layout_height="match_parent"
  62. android:background="@color/gray_e5e5e5" />
  63. <com.yihucha.hbyhc.view.BoldText
  64. android:id="@+id/confirm_positive"
  65. android:layout_width="0dp"
  66. android:layout_height="match_parent"
  67. android:layout_weight="1"
  68. android:gravity="center"
  69. android:text="@string/affirm"
  70. android:textColor="@color/red_fe0032"
  71. android:textSize="18sp" />
  72. </LinearLayout>
  73. </LinearLayout>