I have created an app in Android 4.1 jelly bean, And I have used action bar and action bar sliding drawer, and I want to support my this app in Android 2.3 ginger bread and upper version. I know that I have to use some library, but I am confused that which library I have to use for this, I am new to use of libraries, I have used in google map once, but no deep knowledge about this.

enter image description here

有帮助吗?

解决方案

You will need support libraries, they come with the SDK you have downloaded.

For action bar you can use ActionBarSherlock or use getSupportActionBar() from google in your v7 compatibility jar

其他提示

In you manifest, set minSdkVersion = 9 and targetSdkVersion = 19

To add Fragments, the Navigation Drwawer, etc: add the support Library to your project.

If you also need the ActionBar, then add the ActionBarSherlock library or the actionBarCompat library

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top