KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have implemented the new drawer with actionbar sherlock, and appretantly the actionbar stays at the same state. I have implemented the ActionBarDrawerToggle interface to handle the open/close callbacks. actionBarDrawerToggle = new ActionBarDrawerToggle(this, menu, R.drawable.ic_launcher, R.string.app_name, R.string.app_name) { @Override public void onDrawerOpened(View drawerView) { super.onDrawerOpened(drawerView); drawerOpened = true; sliderButton.setBackgroundResource(R.drawable.tab_bar_menu_icon_push); } @Override public void onDrawerClosed(View drawerView) { super.onDrawerClosed(drawerView); drawerOpened = false; sliderButton.setBackgroundResource(R.drawable.tab_menu); } }; menu.setDrawerListener(actionBarDrawerToggle); How to I set the actionbar to move as well with the drawer menu?
Tags (comma-separated)
Save Edits
Cancel