I wanted to replace the deprecated version of android.support.v4.app.ActionBarDrawerToggle
so i looked a little and found how to do it : How to implement DrawerArrowToggle from Android appcompat v7 21 library
Except it doesnt work : I get this error This Activity already has an action bar supplied by the window decor
And if I change the style the action bar wont be seen.
Asked
Active
Viewed 45 times
0
-
Try to set style : Theme.AppCompat.Light.NoActionBar. – Haresh Chhelana May 14 '15 at 06:00
-
But i want action bar - i want to set an icon at the action bar to open up the drawer – fofo May 14 '15 at 06:01
-
Use toolbar instead of action bar – keshav kowshik May 14 '15 at 06:23