-1

I have drawerActivity and i use this to construct NavigationDrawerTogggle

mDrawerToggle = new 
        ActionBarDrawerToggle((Activity)this, mDrawerLayout,
        R.string.drawer_open,
        R.string.drawer_close) {};

            mDrawerToggle.setDrawerIndicatorEnabled(true);

            getActionBar().setDisplayHomeAsUpEnabled(true);
            getActionBar().setHomeButtonEnabled(true);
            getActionBar().setDisplayShowHomeEnabled(true);  

in my phone android 4.3 drawer toggle looks like lolipop drawer (hamburger -> arrow animation), in android 4.2.2 it shows only this " < " .

Alpha
  • 1,754
  • 3
  • 21
  • 39

1 Answers1

0

You need to call mDrawerToggle.syncState(). You can call it right after you initialize your mDrawerToggle

Pedro Oliveira
  • 20,442
  • 8
  • 55
  • 82