I\'m trying to add BottomNavigationView to my layout with this library:
BottomNavigationView
implementation \'com.google.android.material:material:1.0.0\'
Instead of
app:itemBackground="?colorPrimary"
set
app:itemBackground="@color/colorPrimary"
Edit: also check that the drawables are in res/drawable folder and not in a folder like res/drawable-v21
res/drawable
res/drawable-v21