Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can i show icon app in Lollipop Toolbar?

I am missing an app icon after switching from ICS ActionBar to Lollipop toolbar. Is it possible? Please help me. Thanks

mDrawerToggle.setDrawerIndicatorEnabled(false);
like image 724
Fattivi Digitali Avatar asked Sep 30 '22 02:09

Fattivi Digitali


1 Answers

The use of application icon and a title is discouraged on API 21,according to Material Design.

Anyway if you want to use an icon, you can use the setLogo method in your Toolbar.

like image 68
Gabriele Mariotti Avatar answered Oct 03 '22 01:10

Gabriele Mariotti