activity_pay.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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="match_parent">
  7. <FrameLayout
  8. android:id="@+id/background"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:background="#70C1FF"
  12. app:layout_constraintBottom_toBottomOf="parent"
  13. app:layout_constraintEnd_toEndOf="parent"
  14. app:layout_constraintStart_toStartOf="parent"
  15. app:layout_constraintTop_toTopOf="parent"></FrameLayout>
  16. <FrameLayout
  17. android:layout_width="1280dp"
  18. android:layout_height="720dp"
  19. android:gravity="center"
  20. android:orientation="vertical"
  21. app:layout_constraintBottom_toBottomOf="parent"
  22. app:layout_constraintDimensionRatio="h,16:9"
  23. app:layout_constraintEnd_toEndOf="parent"
  24. app:layout_constraintStart_toStartOf="parent"
  25. app:layout_constraintTop_toTopOf="parent">
  26. <ImageView
  27. android:id="@+id/activity_pay_back"
  28. android:layout_width="77dp"
  29. android:layout_height="77dp"
  30. android:layout_marginLeft="32dp"
  31. android:layout_marginTop="20dp"
  32. android:src="@drawable/main_back"></ImageView>
  33. <ImageView
  34. android:id="@+id/activity_pay_tomyorder"
  35. android:layout_width="130dp"
  36. android:layout_height="130dp"
  37. android:layout_gravity="right"
  38. android:layout_marginTop="20dp"
  39. android:layout_marginRight="32dp"
  40. android:src="@drawable/activity_pay_myorder"></ImageView>
  41. <FrameLayout
  42. android:layout_width="1196dp"
  43. android:layout_height="613dp"
  44. android:layout_gravity="center|bottom"
  45. android:layout_marginBottom="27dp"
  46. android:background="@drawable/activity_pay_bg">
  47. <LinearLayout
  48. android:layout_width="1062dp"
  49. android:layout_height="474dp"
  50. android:layout_gravity="center"
  51. android:layout_marginTop="10dp"
  52. android:orientation="horizontal">
  53. <LinearLayout
  54. android:id="@+id/activity_pay_item_layouts"
  55. android:layout_width="0dp"
  56. android:layout_height="match_parent"
  57. android:layout_gravity="center"
  58. android:layout_marginTop="30dp"
  59. android:layout_marginBottom="30dp"
  60. android:layout_weight="1.3"
  61. android:gravity="center"
  62. android:orientation="vertical"
  63. android:paddingLeft="20dp">
  64. </LinearLayout>
  65. <FrameLayout
  66. android:layout_width="0dp"
  67. android:layout_height="match_parent"
  68. android:layout_marginLeft="20dp"
  69. android:layout_marginRight="50dp"
  70. android:layout_weight="1">
  71. <FrameLayout
  72. android:layout_width="383dp"
  73. android:layout_height="383dp"
  74. android:layout_gravity="center"
  75. android:background="@drawable/activity_pay_qrcode_bg">
  76. <ImageView
  77. android:id="@+id/activity_pay_qrcode"
  78. android:layout_width="256dp"
  79. android:layout_height="256dp"
  80. android:layout_gravity="center"
  81. android:layout_marginBottom="20dp"
  82. android:scaleType="fitXY"></ImageView>
  83. <TextView
  84. android:layout_width="wrap_content"
  85. android:text="微信/支付宝扫码支付"
  86. android:layout_gravity="center|bottom"
  87. android:layout_marginBottom="20dp"
  88. android:textStyle="bold"
  89. android:textColor="@color/black"
  90. android:textSize="30dp"
  91. android:layout_height="wrap_content"></TextView>
  92. </FrameLayout>
  93. </FrameLayout>
  94. </LinearLayout>
  95. </FrameLayout>
  96. </FrameLayout>
  97. </androidx.constraintlayout.widget.ConstraintLayout>