Using the navigation box in an older android

Can I use the Navigation Box in an older android, for example GingerBread ? And if so, how can I use it without an ActionBar, since the ActionBar is not available for Gingerbread ..

+7
source share
4 answers

You can use the Android Support Library to implement new API functions, including the navigation box, in applications designed for API level 4 or higher

+7
source

Make sure you update the latest support library.

Here is a tutorial: http://techbandhu.wordpress.com/2013/05/25/navigation-drawer-android/ .

+6
source

There is a recent project that provides the perfect solution for it.

https://github.com/nicolasjafelle/SherlockNavigationDrawer

+3
source

Use this and your application will not crash using the Gingebread Android developer:

if(Build.VERSION.SDK_INT>Build.VERSION_CODES.GINGERBREAD_MR1){ getActionBar().setDisplayHomeAsUpEnabled(true); getActionBar().setHomeButtonEnabled(true); } 

do the same if you use ActionBarDrawerToggle

hope that helps :)))

+3
source

All Articles