|
|
@@ -371,15 +371,29 @@
|
|
|
android:id="@+id/space4"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
- app:layout_constraintDimensionRatio="360:24"
|
|
|
+ app:layout_constraintDimensionRatio="360:15"
|
|
|
app:layout_constraintTop_toBottomOf="@id/v_sub_card" />
|
|
|
|
|
|
+ <Space
|
|
|
+ android:id="@+id/space_ry_top"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="12.5dp"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/rv_goods_list" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:background="@drawable/bg_sub_goods_list"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/rv_goods_list"
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/rv_goods_list"
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/rv_goods_list"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/space_ry_top" />
|
|
|
+
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
android:id="@+id/rv_goods_list"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginHorizontal="16dp"
|
|
|
- android:background="@drawable/bg_sub_goods_list"
|
|
|
android:overScrollMode="never"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/space4"
|
|
|
tools:itemCount="3"
|
|
|
@@ -429,8 +443,8 @@
|
|
|
app:layout_constraintTop_toTopOf="@+id/v_menu" />
|
|
|
|
|
|
<ImageView
|
|
|
- isGone="@{!subscriptionViewModel.isShowCloseBtn}"
|
|
|
android:id="@+id/iv_back"
|
|
|
+ isGone="@{!subscriptionViewModel.isShowCloseBtn}"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_marginStart="14dp"
|
|
|
@@ -463,12 +477,12 @@
|
|
|
app:layout_constraintDimensionRatio="360:110" />
|
|
|
|
|
|
<TextView
|
|
|
- android:onClick="@{()-> subscriptionViewModel.onSubNowClick()}"
|
|
|
android:id="@+id/tv_sub_now"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="0dp"
|
|
|
android:background="@drawable/bg_voice_ai_btn"
|
|
|
android:gravity="center"
|
|
|
+ android:onClick="@{()-> subscriptionViewModel.onSubNowClick()}"
|
|
|
android:text="@string/sub_now"
|
|
|
android:textColor="@color/colorPrimary"
|
|
|
android:textSize="17sp"
|