remark_dialog.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical">
  8. <View
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:background="@color/translate33"/>
  12. <LinearLayout
  13. android:id="@+id/pop_layout"
  14. android:layout_width="fill_parent"
  15. android:layout_height="486dp"
  16. android:layout_alignParentBottom="true"
  17. android:background="@drawable/shape_white_top_8dp_line_9e9e9e"
  18. android:gravity="center_horizontal"
  19. android:orientation="vertical"
  20. android:padding="16dp"
  21. tools:ignore="MissingConstraints">
  22. <RelativeLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content">
  25. <com.yihucha.hbyhc.view.BoldText
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_centerHorizontal="true"
  29. android:text="@string/order_phonographic"
  30. android:textColor="@color/black_333333"
  31. android:textSize="18sp" />
  32. <ImageView
  33. android:id="@+id/iv_guanbi"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_alignParentRight="true"
  37. android:layout_marginLeft="5dp"
  38. android:src="@mipmap/note_to_close" />
  39. </RelativeLayout>
  40. <LinearLayout
  41. android:layout_width="match_parent"
  42. android:layout_height="160dp"
  43. android:background="@drawable/shape_f8f8f8_8dp"
  44. android:orientation="vertical">
  45. <EditText
  46. android:id="@+id/et_remark"
  47. android:layout_width="match_parent"
  48. android:layout_height="130dp"
  49. android:gravity="start"
  50. android:padding="13dp"
  51. android:maxLength="200"
  52. android:hint="选填,建议留言前先与商家沟通确认"
  53. android:textSize="15sp"
  54. android:textColorHint="@color/gray_999999"
  55. android:background="@null" />
  56. <LinearLayout
  57. android:layout_width="match_parent"
  58. android:layout_height="wrap_content"
  59. android:orientation="horizontal">
  60. <View
  61. android:layout_width="0dp"
  62. android:layout_height="wrap_content"
  63. android:layout_weight="1" />
  64. <TextView
  65. android:id="@+id/tv_et_num"
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. android:text="0"
  69. android:textColor="@color/gray_999999"
  70. android:textSize="15sp" />
  71. <TextView
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:text="/200"
  75. android:textColor="@color/black_333333"
  76. android:textSize="15sp" />
  77. </LinearLayout>
  78. </LinearLayout>
  79. <View
  80. android:layout_width="wrap_content"
  81. android:layout_height="0dp"
  82. android:layout_weight="1"></View>
  83. <TextView
  84. android:id="@+id/tv_buy_now"
  85. android:layout_width="match_parent"
  86. android:layout_height="44dp"
  87. android:background="@drawable/shape_fe0032_50dp"
  88. android:gravity="center"
  89. android:text="@string/confirm"
  90. android:textColor="@color/white"
  91. android:textSize="16sp" />
  92. </LinearLayout>
  93. </RelativeLayout>