Issue
Is there a way to change navigations drawer icons' color? What I mean is that even I use a png that includes more than one color, the icon that drawn in the app has one color and I think default color is grey, can I make it colorful?
For example:
This is my png file that I want to use for icon but when I use it as navigation drawer items' icon it drawn like that:
Solution
set
navigationView.setItemIconTintList(null);
in your onCreate()
using this you can set different color icon of navigationdrawer.
Answered By - Aman Verma
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.