/BottomNavView

You can change the default background color of the icons on the bottom navigation or remove them completely ✨

Primary LanguageKotlinMIT LicenseMIT

Bottom Navigation Icon Background 💫

  • You can change the default background color of the icons on the bottom navigation or remove them completely 👌

Default Background 👇

first


Custom Background 👇

second



NOTE: If you want the icon to have no color in the background, you can use this code :

binding.bottomNavView.itemActiveIndicatorColor = null

bottomNavView --> Add whatever id you gave to your bottom navigation view. This is mine.
MainActivity.kt is where I wrote this code.