From d68c8a7627dee4a456a0f51e397a75b1a260a13b Mon Sep 17 00:00:00 2001 From: Martin <13046765170@163.com> Date: Mon, 26 Aug 2024 13:38:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/src/main/java/com/yunbao/main/activity/MainActivity.java | 2 +- main/src/main/res/layout/activity_entry.xml | 2 +- main/src/main/res/layout/view_homemain.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/src/main/java/com/yunbao/main/activity/MainActivity.java b/main/src/main/java/com/yunbao/main/activity/MainActivity.java index c83c9ac69..ae88b19e7 100644 --- a/main/src/main/java/com/yunbao/main/activity/MainActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MainActivity.java @@ -551,7 +551,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene //选中监听 mTabButtonGroup.addTabButtonGroupChangeListener((view, index) -> { - if (index == 1) { + if (index == 0) { isfloatBannernet = true; initAnchorRecommendBanner(); } else if (index == 2) { diff --git a/main/src/main/res/layout/activity_entry.xml b/main/src/main/res/layout/activity_entry.xml index e15c04da7..c1dd3b602 100644 --- a/main/src/main/res/layout/activity_entry.xml +++ b/main/src/main/res/layout/activity_entry.xml @@ -332,7 +332,7 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_centerHorizontal="true" - android:visibility="gone" + android:visibility="visible" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/main/src/main/res/layout/view_homemain.xml b/main/src/main/res/layout/view_homemain.xml index 0b4a08207..a6e0536c5 100644 --- a/main/src/main/res/layout/view_homemain.xml +++ b/main/src/main/res/layout/view_homemain.xml @@ -52,7 +52,7 @@ app:tbn_text_color_checked="@color/colorMainTab" app:tbn_text_color_unchecked="@color/gray1" app:tbn_text_size="11sp" - app:tbn_tip="@string/live" /> + app:tbn_tip="@string/main_home" />