guoshen
2024-07-01 caead5ad019c24b9a7958f01fa663ea8159aee6c
app/src/main/res/layout/activity_main.xml
@@ -13,6 +13,8 @@
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <androidx.viewpager2.widget.ViewPager2
            android:id="@+id/main_vp"
            android:layout_width="match_parent"
@@ -24,11 +26,11 @@
        <com.google.android.material.bottomnavigation.BottomNavigationView
            android:id="@+id/main_bnv"
            android:layout_width="match_parent"
            android:layout_height="@dimen/dp_56"
            android:layout_height="56dp"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            android:background="@color/white"
            android:background="?attr/bottomNavigationViewBackgroundColor"
            app:itemBackground="@null"
            app:itemIconTint="@null"
            app:itemTextAppearanceActive="@style/bottom_navigation_title_active"