activity_pay_huawei.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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:id="@+id/frameLayout3"
  18. android:layout_width="1280dp"
  19. android:layout_height="720dp"
  20. android:gravity="center"
  21. android:orientation="vertical"
  22. app:layout_constraintBottom_toBottomOf="parent"
  23. app:layout_constraintDimensionRatio="h,16:9"
  24. app:layout_constraintEnd_toEndOf="parent"
  25. app:layout_constraintStart_toStartOf="parent"
  26. app:layout_constraintTop_toTopOf="parent">
  27. <ImageView
  28. android:id="@+id/activity_huawei_pay_back"
  29. android:layout_width="77dp"
  30. android:layout_height="77dp"
  31. android:layout_marginLeft="32dp"
  32. android:layout_marginTop="20dp"
  33. android:src="@drawable/main_back"></ImageView>
  34. <ImageView
  35. android:id="@+id/activity_pay_huawei_tomyorder"
  36. android:layout_width="130dp"
  37. android:layout_height="130dp"
  38. android:layout_gravity="right"
  39. android:layout_marginTop="20dp"
  40. android:layout_marginRight="32dp"
  41. android:src="@drawable/activity_pay_myorder"></ImageView>
  42. <FrameLayout
  43. android:id="@+id/activity_huawei_pay_bg"
  44. android:layout_width="1102dp"
  45. android:layout_height="580dp"
  46. android:layout_gravity="center"
  47. android:layout_marginBottom="27dp"
  48. android:background="@drawable/huawei_pay_bg">
  49. <LinearLayout
  50. android:layout_width="1062dp"
  51. android:layout_height="474dp"
  52. android:layout_gravity="center"
  53. android:layout_marginTop="10dp"
  54. android:orientation="vertical">
  55. <LinearLayout
  56. android:id="@+id/activity_pay_huawei_item_layouts"
  57. android:layout_width="match_parent"
  58. android:layout_height="474dp"
  59. android:layout_gravity="center"
  60. android:layout_marginTop="30dp"
  61. android:gravity="top"
  62. android:orientation="horizontal"
  63. android:paddingLeft="156dp"
  64. android:paddingRight="156dp">
  65. </LinearLayout>
  66. </LinearLayout>
  67. </FrameLayout>
  68. <FrameLayout
  69. android:id="@+id/activity_pay_qrcode_layout"
  70. android:layout_width="match_parent"
  71. android:layout_height="match_parent"
  72. android:background="@color/translucent_background"
  73. android:visibility="gone">
  74. <ImageView
  75. android:id="@+id/activity_pay_qrcode"
  76. android:layout_width="300dp"
  77. android:layout_height="300dp"
  78. android:layout_gravity="center"
  79. android:layout_marginTop="30dp"
  80. android:background="@color/red"></ImageView>
  81. <ImageView
  82. android:id="@+id/activity_pay_qrcode_layout_close"
  83. android:layout_width="50dp"
  84. android:layout_height="50dp"
  85. android:layout_gravity="center"
  86. android:layout_marginTop="250dp"
  87. android:src="@drawable/close_icon"></ImageView>
  88. </FrameLayout>
  89. <LinearLayout
  90. android:id="@+id/activity_pay_huawei_automatic_layout"
  91. android:layout_width="match_parent"
  92. android:layout_height="100dp"
  93. android:layout_gravity="bottom"
  94. android:layout_marginBottom="15dp"
  95. android:gravity="center"
  96. android:orientation="vertical">
  97. <TextView
  98. android:id="@+id/activity_pay_huawei_automatic"
  99. android:layout_width="match_parent"
  100. android:layout_height="wrap_content"
  101. android:layout_gravity="top"
  102. android:gravity="center"
  103. android:text="《自动续费服务条款》"
  104. android:textColor="#333333"
  105. android:textSize="20dp"></TextView>
  106. <TextView
  107. android:id="@+id/activity_pay_huawei_automatic_desc"
  108. android:layout_width="800dp"
  109. android:layout_height="wrap_content"
  110. android:layout_gravity="center"
  111. android:layout_marginTop="10dp"
  112. android:gravity="center|left"
  113. android:text="次月起10元/月,自动续费可随时取消。确认购买后,将向您账户收款,购买连续包月项目,将自动续订。"
  114. android:textColor="#333333"
  115. android:textSize="14dp"></TextView>
  116. </LinearLayout>
  117. </FrameLayout>
  118. </androidx.constraintlayout.widget.ConstraintLayout>