Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Lollipop "hamburger" as drawer icon in standard Fragment app (without use AppCompat)?

When i use AppCompat lib (v21) i got ActionBar with new style of "hamburger" icon. Is possible to get the same behaviour, but not using AppCompat. I'd like to have standard Holo.Light theme with new "hamburger" (drawer) icon in ActionBar.

enter image description here

like image 200
marioosh Avatar asked Dec 05 '25 14:12

marioosh


1 Answers

You can get the assets you want from the official github account of Google

Here the link for the xxhdpi density ic_menu_white xxhdpi

And set it to your Action bar with the method setIcon()

like image 194
Elodie E2 Avatar answered Dec 07 '25 03:12

Elodie E2



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!