Reputation: 21
I'm doing a project. I am using SlidingMenu in my project. When i open the sliding menu, action back button icon's should seems like this image <-- also when i close action back button icon's should seems like this image --> . How can i do that ?
Upvotes: 1
Views: 387
Reputation: 1152
You can change it programmatically easily by using homeAsUpIndicator() function that added in android API level 18 and upper.
ActionBar().setHomeAsUpIndicator(R.drawable.ic_yourindicator);
In case, if you are using support library,
getSupportActionBar().setHomeAsUpIndicator(R.drawable.ic_yourindicator);
Upvotes: 2