This commit is contained in:
Martin 2024-08-26 13:38:28 +08:00
parent 02dc40b1bf
commit d68c8a7627
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

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

View File

@ -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" />
<com.yunbao.common.custom.TabButton
android:layout_width="0dp"