张钢
2024-09-12 f278edbd3f0f809e4a3b59bf16d24c624a43f98d
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"