I'd like to build a navigation drawer where each item has a different selection color (the icon tint and text color) as the google play store has:
I'm not sure how they've solved this, I think they use different activities with different drawers. I want to use fragments and I want to change the icon tint and text color. Any ideas how I can do this? I'm using google's design support library and a drawer layout with a navigation view in there.
use
app:itemIconTint
in yourNavigationView
for icons and useapp:itemTextColor
for textColorsSample :
drawable/navigation_text_color
:and
layout
: