On Thu, May 31, 2012 at 7:38 AM, giles ian <gilesian....@gmail.com> wrote:
> Hi Developers,
>
> I have an app developed for 2.2+. This app has menu options. Now on 4.X i
> get a compatibly menu button. Now after including  action bar i am not sure
> how the app should behave.
>
> I change my app and set targetSdkVersion to 14 with proper min version and
> include the support jar. Add action bar. Now on 3.0+ i should get an action
> bar but on 2.2 and 2.3 should i get an action bar + menu button working or
> there will be no action bar and only menu button (which basically mean there
> is no change for 2.2 and 2.3 whatsoever)

You will not get an action bar on Android 1.x/2.x devices by setting
targetSdkVersion to any value.

If you wish to have an action bar on Android 2.1+ devices, consider
ActionBarSherlock.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.7 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to