activity_saffloer.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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="#55B77C"
  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/activity_saffloer_mainlayout"
  18. android:layout_width="1280dp"
  19. android:layout_height="720dp"
  20. android:orientation="vertical"
  21. android:visibility="invisible"
  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. <LinearLayout
  28. android:layout_width="1184dp"
  29. android:layout_height="630dp"
  30. android:layout_gravity="center"
  31. android:background="@drawable/activity_safflower_bg"
  32. android:orientation="vertical">
  33. <androidx.constraintlayout.widget.ConstraintLayout
  34. android:layout_width="match_parent"
  35. android:layout_height="0dp"
  36. android:layout_weight="1.6">
  37. <FrameLayout
  38. android:id="@+id/textView4"
  39. android:layout_width="256dp"
  40. android:layout_height="48dp"
  41. android:layout_marginTop="44dp"
  42. android:layout_marginBottom="250dp"
  43. android:gravity="center"
  44. app:layout_constraintBottom_toBottomOf="parent"
  45. app:layout_constraintEnd_toEndOf="parent"
  46. app:layout_constraintStart_toStartOf="parent"
  47. app:layout_constraintTop_toTopOf="parent"
  48. app:layout_constraintVertical_bias="0.32">
  49. <com.edufound.reader.cusview.RoundFrameLayout
  50. android:layout_width="match_parent"
  51. android:layout_height="15dp"
  52. android:layout_gravity="bottom"
  53. android:background="#369F60"></com.edufound.reader.cusview.RoundFrameLayout>
  54. <LinearLayout
  55. android:layout_width="match_parent"
  56. android:layout_height="match_parent"
  57. android:layout_gravity="center"
  58. android:gravity="center"
  59. android:orientation="horizontal">
  60. <TextView
  61. android:id="@+id/activity_saffloer_follow"
  62. android:layout_width="wrap_content"
  63. android:layout_height="match_parent"
  64. android:text="小红花 0"
  65. android:textColor="@color/white"
  66. android:textSize="34dp"></TextView>
  67. </LinearLayout>
  68. </FrameLayout>
  69. <LinearLayout
  70. android:id="@+id/activity_saffloer_sign_layout"
  71. android:layout_width="match_parent"
  72. android:layout_height="140dp"
  73. android:layout_marginLeft="100dp"
  74. android:layout_marginTop="20dp"
  75. android:layout_marginRight="100dp"
  76. android:divider="@drawable/activity_saffloer_sigin_layout_divier"
  77. android:dividerPadding="69dp"
  78. android:orientation="horizontal"
  79. android:showDividers="middle"
  80. app:layout_constraintBottom_toBottomOf="parent"
  81. app:layout_constraintEnd_toEndOf="parent"
  82. app:layout_constraintStart_toStartOf="parent"
  83. app:layout_constraintTop_toTopOf="parent"
  84. app:layout_constraintVertical_bias="0.71000004">
  85. </LinearLayout>
  86. </androidx.constraintlayout.widget.ConstraintLayout>
  87. <LinearLayout
  88. android:layout_width="match_parent"
  89. android:layout_height="0dp"
  90. android:layout_weight="1"
  91. android:gravity="center"
  92. android:orientation="vertical">
  93. <androidx.recyclerview.widget.RecyclerView
  94. android:id="@+id/activity_saffloer_recyclerview"
  95. android:layout_width="match_parent"
  96. android:layout_height="135dp"
  97. android:layout_gravity="center"
  98. android:layout_marginLeft="13dp"
  99. android:layout_marginRight="14dp"></androidx.recyclerview.widget.RecyclerView>
  100. </LinearLayout>
  101. </LinearLayout>
  102. <ImageView
  103. android:id="@+id/activity_saffloer_back"
  104. android:layout_width="77dp"
  105. android:layout_height="77dp"
  106. android:layout_gravity="left|top"
  107. android:layout_marginLeft="32dp"
  108. android:layout_marginTop="20dp"
  109. android:src="@drawable/main_back"></ImageView>
  110. <ImageView
  111. android:id="@+id/activity_saffloer_flower_des"
  112. android:layout_width="154dp"
  113. android:layout_height="94dp"
  114. android:layout_gravity="right|top"
  115. android:layout_marginTop="20dp"
  116. android:layout_marginRight="55dp"
  117. android:scaleX="1.5"
  118. android:scaleY="1.5"
  119. android:src="@drawable/activity_safflower_des"></ImageView>
  120. </FrameLayout>
  121. <FrameLayout
  122. android:id="@+id/activity_saffloer_window"
  123. android:layout_width="1280dp"
  124. android:layout_height="720dp"
  125. android:orientation="vertical"
  126. app:layout_constraintBottom_toBottomOf="parent"
  127. app:layout_constraintDimensionRatio="h,16:9"
  128. app:layout_constraintEnd_toEndOf="parent"
  129. app:layout_constraintStart_toStartOf="parent"
  130. app:layout_constraintTop_toTopOf="parent">
  131. <FrameLayout
  132. android:layout_width="890dp"
  133. android:layout_height="510dp"
  134. android:layout_gravity="center"
  135. android:background="@drawable/activity_safflower_des_pop_bg">
  136. <ScrollView
  137. android:layout_width="match_parent"
  138. android:layout_height="280dp"
  139. android:layout_gravity="center"
  140. android:layout_marginLeft="30dp"
  141. android:layout_marginTop="20dp"
  142. android:layout_marginRight="30dp">
  143. <LinearLayout
  144. android:id="@+id/activity_saffloer_window_item_layout"
  145. android:layout_width="match_parent"
  146. android:layout_height="match_parent"
  147. android:layout_gravity="center|top"
  148. android:layout_marginLeft="50dp"
  149. android:layout_marginRight="50dp"
  150. android:divider="@drawable/main_left_tab_divider"
  151. android:gravity="center|top"
  152. android:orientation="vertical"
  153. android:showDividers="middle">
  154. </LinearLayout>
  155. </ScrollView>
  156. </FrameLayout>
  157. <ImageView
  158. android:id="@+id/activity_saffloer_window_back"
  159. android:layout_width="77dp"
  160. android:layout_height="77dp"
  161. android:layout_gravity="left|top"
  162. android:layout_marginLeft="32dp"
  163. android:layout_marginTop="20dp"
  164. android:src="@drawable/main_back"></ImageView>
  165. </FrameLayout>
  166. </androidx.constraintlayout.widget.ConstraintLayout>