Вопрос

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