首頁
This commit is contained in:
parent
02dc40b1bf
commit
d68c8a7627
@ -551,7 +551,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
|
|||||||
|
|
||||||
//选中监听
|
//选中监听
|
||||||
mTabButtonGroup.addTabButtonGroupChangeListener((view, index) -> {
|
mTabButtonGroup.addTabButtonGroupChangeListener((view, index) -> {
|
||||||
if (index == 1) {
|
if (index == 0) {
|
||||||
isfloatBannernet = true;
|
isfloatBannernet = true;
|
||||||
initAnchorRecommendBanner();
|
initAnchorRecommendBanner();
|
||||||
} else if (index == 2) {
|
} else if (index == 2) {
|
||||||
|
@ -332,7 +332,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:visibility="gone"
|
android:visibility="visible"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
app:tbn_text_color_checked="@color/colorMainTab"
|
app:tbn_text_color_checked="@color/colorMainTab"
|
||||||
app:tbn_text_color_unchecked="@color/gray1"
|
app:tbn_text_color_unchecked="@color/gray1"
|
||||||
app:tbn_text_size="11sp"
|
app:tbn_text_size="11sp"
|
||||||
app:tbn_tip="@string/live" />
|
app:tbn_tip="@string/main_home" />
|
||||||
|
|
||||||
<com.yunbao.common.custom.TabButton
|
<com.yunbao.common.custom.TabButton
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
Loading…
Reference in New Issue
Block a user