|
@@ -15,8 +15,8 @@
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:background="@color/white"
|
|
|
|
|
- android:layout_height="match_parent">
|
|
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:background="@color/white">
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
@@ -97,8 +97,8 @@
|
|
|
<View
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/space9"
|
|
|
|
|
android:background="@drawable/bg_home_page_content"
|
|
android:background="@drawable/bg_home_page_content"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/space9"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/space3" />
|
|
app:layout_constraintTop_toBottomOf="@+id/space3" />
|
|
|
|
|
|
|
|
<Space
|
|
<Space
|
|
@@ -170,12 +170,12 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_hot_function" />
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_hot_function" />
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
- android:onClick="@{()-> homePageViewModel.onWxMessageRecoveryClick()}"
|
|
|
|
|
android:id="@+id/v_wx_message_recovery"
|
|
android:id="@+id/v_wx_message_recovery"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
android:layout_marginStart="@dimen/app_common_page_horizontal_padding"
|
|
android:layout_marginStart="@dimen/app_common_page_horizontal_padding"
|
|
|
android:background="@drawable/bg_wx_message_recovery"
|
|
android:background="@drawable/bg_wx_message_recovery"
|
|
|
|
|
+ android:onClick="@{()-> homePageViewModel.onWxMessageRecoveryClick()}"
|
|
|
app:layout_constraintDimensionRatio="152:108"
|
|
app:layout_constraintDimensionRatio="152:108"
|
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
@@ -220,12 +220,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
- android:onClick="@{()-> homePageViewModel.onWxFriendRecoveryClick()}"
|
|
|
|
|
android:id="@+id/v_wx_friend_recovery"
|
|
android:id="@+id/v_wx_friend_recovery"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
android:layout_marginEnd="@dimen/app_common_page_horizontal_padding"
|
|
android:layout_marginEnd="@dimen/app_common_page_horizontal_padding"
|
|
|
android:background="@drawable/bg_wx_friend_recovery"
|
|
android:background="@drawable/bg_wx_friend_recovery"
|
|
|
|
|
+ android:onClick="@{()-> homePageViewModel.onWxFriendRecoveryClick()}"
|
|
|
app:layout_constraintDimensionRatio="168:50"
|
|
app:layout_constraintDimensionRatio="168:50"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/v_wx_message_recovery"
|
|
app:layout_constraintLeft_toRightOf="@+id/v_wx_message_recovery"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
@@ -271,17 +271,30 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_wx_friend_recovery" />
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_wx_friend_recovery" />
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
- android:onClick="@{()-> homePageViewModel.onImgRecoveryClick()}"
|
|
|
|
|
android:id="@+id/v_img_recovery"
|
|
android:id="@+id/v_img_recovery"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
android:background="@drawable/bg_img_recovery"
|
|
android:background="@drawable/bg_img_recovery"
|
|
|
|
|
+ android:onClick="@{()-> homePageViewModel.onImgRecoveryClick()}"
|
|
|
app:layout_constraintBottom_toBottomOf="@id/v_wx_message_recovery"
|
|
app:layout_constraintBottom_toBottomOf="@id/v_wx_message_recovery"
|
|
|
app:layout_constraintDimensionRatio="168:50"
|
|
app:layout_constraintDimensionRatio="168:50"
|
|
|
app:layout_constraintEnd_toEndOf="@+id/v_wx_friend_recovery"
|
|
app:layout_constraintEnd_toEndOf="@+id/v_wx_friend_recovery"
|
|
|
app:layout_constraintLeft_toRightOf="@+id/v_wx_message_recovery"
|
|
app:layout_constraintLeft_toRightOf="@+id/v_wx_message_recovery"
|
|
|
app:layout_constraintWidth_percent="0.4666666666666667" />
|
|
app:layout_constraintWidth_percent="0.4666666666666667" />
|
|
|
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ isGone="@{!homePageViewModel.isOpenTrialMembership || homePageViewModel.isHasImageFunc}"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@drawable/bg_trial_tag"
|
|
|
|
|
+ android:paddingHorizontal="9dp"
|
|
|
|
|
+ android:paddingVertical="2dp"
|
|
|
|
|
+ android:text="@string/trial"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="10dp"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/v_img_recovery"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/v_img_recovery" />
|
|
|
|
|
+
|
|
|
<ImageView
|
|
<ImageView
|
|
|
android:id="@+id/iv_img_recovery"
|
|
android:id="@+id/iv_img_recovery"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
@@ -347,11 +360,11 @@
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
android:id="@+id/ry_other_function"
|
|
android:id="@+id/ry_other_function"
|
|
|
- android:scrollbars="none"
|
|
|
|
|
- android:overScrollMode="never"
|
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginHorizontal="@dimen/app_common_page_horizontal_padding"
|
|
android:layout_marginHorizontal="@dimen/app_common_page_horizontal_padding"
|
|
|
|
|
+ android:overScrollMode="never"
|
|
|
|
|
+ android:scrollbars="none"
|
|
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/space8"
|
|
app:layout_constraintTop_toBottomOf="@+id/space8"
|
|
|
app:spanCount="4"
|
|
app:spanCount="4"
|