Reputation: 23
I am trying to set the BottomNavigation Icon tint to null
I am using Android Studio 4.1 and Kotlin as my language and created the bottom navigation from the android create project
val navView: BottomNavigationView = findViewById(R.id.nav_view)
But when i try to declare null to setItemIconTintList() its not available
I am new to this please help me out how to set the tint to null
Upvotes: 0
Views: 606
Reputation: 266
You have it highlighted in the screenshot:
itemIconTintList
set it by:
navView.itemIconTintList = null
Upvotes: 1