1

Am working on a Android application that target tablets running both 2.3 and 4.0 so I need to support both these versions.

I found the support library to support fragments but how can I use ActionBar taken that its only available in Android 3.0+ and not in 2.3?

Thanks

Alex Lockwood
  • 83,063
  • 39
  • 206
  • 250
Lennie
  • 1,999
  • 4
  • 27
  • 42

2 Answers2

3

Use ActionBarSherlock. It requires very little work on your part and is well maintained.

Also see: What is the equivalent of ActionBar in earlier sdk versions?

Community
  • 1
  • 1
Alex Lockwood
  • 83,063
  • 39
  • 206
  • 250
0

Now, you can also use ActionBarCompat library from Android Support package. It's v7 version now supports ActionBar. Android dev team published a really useful introduction video video about using ActionBarCompat

antonv
  • 1,227
  • 13
  • 21