dialog_common_confirm_layout.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
  7. android:background="@drawable/shape_8dp_white">
  8. <TextView
  9. android:id="@+id/tv_content"
  10. android:layout_width="0dp"
  11. android:layout_height="wrap_content"
  12. android:layout_marginStart="14dp"
  13. android:layout_marginEnd="14dp"
  14. android:gravity="center"
  15. android:paddingTop="30dp"
  16. android:paddingBottom="30dp"
  17. android:textColor="@color/color_666666"
  18. android:textSize="@dimen/sp_14"
  19. app:layout_constraintLeft_toLeftOf="parent"
  20. app:layout_constraintRight_toRightOf="parent"
  21. app:layout_constraintTop_toTopOf="parent"
  22. tools:text="结束后直播间关闭本场直播结束,不可再次开启" />
  23. <View
  24. android:id="@+id/view_line"
  25. android:layout_width="match_parent"
  26. android:layout_height="1dp"
  27. android:background="@color/color_dedede"
  28. app:layout_constraintTop_toBottomOf="@+id/tv_content" />
  29. <TextView
  30. android:id="@+id/tv_cancel"
  31. android:layout_width="0dp"
  32. android:layout_height="47dp"
  33. android:gravity="center"
  34. android:text="取消"
  35. android:textColor="@color/color_666666"
  36. android:textSize="@dimen/sp_16"
  37. app:layout_constraintLeft_toLeftOf="parent"
  38. app:layout_constraintRight_toLeftOf="@+id/view_line1"
  39. app:layout_constraintTop_toBottomOf="@+id/view_line" />
  40. <TextView
  41. android:id="@+id/tv_confirm"
  42. android:layout_width="0dp"
  43. android:layout_height="47dp"
  44. android:gravity="center"
  45. android:text="确认"
  46. android:textColor="@color/color_333333"
  47. android:textSize="@dimen/sp_16"
  48. app:layout_constraintLeft_toRightOf="@+id/view_line1"
  49. app:layout_constraintRight_toRightOf="parent"
  50. app:layout_constraintTop_toBottomOf="@+id/view_line" />
  51. <View
  52. android:id="@+id/view_line1"
  53. android:layout_width="1dp"
  54. android:layout_height="0dp"
  55. android:background="@color/color_dedede"
  56. app:layout_constraintBottom_toBottomOf="parent"
  57. app:layout_constraintLeft_toLeftOf="parent"
  58. app:layout_constraintRight_toRightOf="parent"
  59. app:layout_constraintTop_toBottomOf="@+id/view_line" />
  60. </androidx.constraintlayout.widget.ConstraintLayout>