diff --git a/app/src/main/java/com/wap/wapp/MainActivity.kt b/app/src/main/java/com/wap/wapp/MainActivity.kt index f3c829fc..f658fd8b 100644 --- a/app/src/main/java/com/wap/wapp/MainActivity.kt +++ b/app/src/main/java/com/wap/wapp/MainActivity.kt @@ -1,10 +1,12 @@ package com.wap.wapp +import android.content.Context import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.navigation.NavController import androidx.navigation.fragment.NavHostFragment import com.google.android.material.color.utilities.MaterialDynamicColors.background +import com.google.android.material.elevation.SurfaceColors import com.wap.wapp.databinding.ActivityMainBinding class MainActivity : AppCompatActivity() { diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 8ede04da..a379e216 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -25,11 +25,14 @@ android:id="@+id/bnv_main_bottomNaviView" android:layout_width="match_parent" android:layout_height="70dp" - android:background="@color/gray2" + android:background="@color/gray_2" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:itemTextColor="@drawable/selector_text_color" app:layout_constraintStart_toStartOf="parent" + app:labelVisibilityMode="labeled" + app:itemRippleColor="@color/gray_2" + app:itemActiveIndicatorStyle="@style/Style.BottomNavigationView.Custom.Indicator" app:menu="@menu/menu_main" /> diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 6cc6dba0..2a2c6f35 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -6,4 +6,8 @@ \ No newline at end of file