How animate Burger to Arrow with Appcompat v7 21, Toolbar and DrawerLayout

Have a look here, it describes how you solve it. https://stackoverflow.com/a/26447144 The essential part is the following: <style name=”AppTheme” parent=”Theme.AppCompat.Light”> <item name=”drawerArrowStyle”>@style/DrawerArrowStyle</item> </style> <style name=”DrawerArrowStyle” parent=”Widget.AppCompat.DrawerArrowToggle”> <item name=”spinBars”>true</item> <item name=”color”>@android:color/white</item> </style>

How to implement DrawerArrowToggle from Android appcompat v7 21 library

First, you should know now the android.support.v4.app.ActionBarDrawerToggle is deprecated. You must replace that with android.support.v7.app.ActionBarDrawerToggle. Here is my example and I use the new Toolbar to replace the ActionBar. MainActivity.java public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Toolbar mToolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(mToolbar); DrawerLayout mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); … Read more