guoshen
2024-07-01 caead5ad019c24b9a7958f01fa663ea8159aee6c
app/src/main/res/layout/activity_main.xml
@@ -6,12 +6,14 @@
    <data>
        <variable
            name="viewModel"
            type="com.application.zhangshi_app_android.module.main.MainViewModel" />
            type="com.application.zhangshi_app_android.ui.main.MainViewModel" />
    </data>
    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <androidx.viewpager2.widget.ViewPager2
            android:id="@+id/main_vp"
@@ -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"