maandag 19 augustus 2013

ActionBarCompat and NavigationDrawer example

I finally found some time to get the recently released support version of the Android ActionBar implemented. Also known as ActionBar Compat, with support back to Android 2.1 or api level 7.

This will soon be used in my phototools application to replace the ActionBarSherlock and SlidingMenu. For the sliding menu we can now use the official navigation drawer pattern.

First thing I noticed was that the navigation drawer example only goes back to level 14. So here is my github project to fix that. This is a first draft. Some style attributes were replaced with fixed dimensions to get this example running on 2.1.

Check the readme for more instructions. Don't forget to get the support library reference fixed.

Vote if you want a tutorial.

Geen opmerkingen:

Een reactie plaatsen