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
  • 82,434
  • 38
  • 201
  • 248
Lennie
  • 1,849
  • 4
  • 27
  • 41

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
  • 82,434
  • 38
  • 201
  • 248
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