Question Detail

I am using Default NavigationDrawer Activity in Android.Every Menu has an icon that i have set a colorful icon but when I execute it. It will show me only silver color icons. How can I show icon's original Color?

I have nothing change just using PNG Image for Icons.


Thread Reply

Anonymous

- 1 years ago

Force NavigationView to stop tinting the icons in Your activity

NavigationView n_view = (NavigationView) findViewById(R.id.n_view);
n_view .setItemIconTintList(null);