I have created action bar using android.app.ActionBar
in android 3.0 API 11. I have created a NavigationDrawer
in the layout using android.support.v4.widget.DrawerLayout
.
I have also specified ActionBarDrawerToggle
(android.support.v4.app.ActionBarDrawerToggle
) button to switch between drawerLayout .
But after running this on emulator (android 3.0 API 11), ActionBarDrawerToggle
is appearing in the top left corner aligning even at the top corner of action bar. It should be aligned vertically center just before the app icon.
In the later versions of emulator, it is working fine, appearing vertically center as it should be. Only problem while running on API 11, android 3.0.
I want to use only this ActionBar, not the toolbar provided in the support library.
Please help me with this ActionBarDrawerToggle
.
Thanks.