Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Navigation Drawer Menu Not Showing Some Icons

Tags:

android

enter image description here

That round icons was supposed to look like this enter image description here

 <item
        android:checked="false"
        android:icon="@drawable/nav_settings"
        android:title="Contact Us" />

    <item

Even default icon ic_launcher is not shown. I am using Design Support Library for Navigation Drawer

like image 987
katwal-Dipak Avatar asked Dec 02 '22 16:12

katwal-Dipak


1 Answers

From the discussions in the comment section , it looks like you don't want the icons to be tinted. So just use

navigationView.setItemIconTintList(null);

Note : This is not in line with the material design guidelines. I would not recommend this

like image 69
Raghunandan Avatar answered Dec 19 '22 01:12

Raghunandan