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" />