[android-developers] Re: Alternative to show ActionBar in 2.x
Ok, with ActionBarCompat http://developer.android.com/resources/samples/ActionBarCompat/index.html
On 24 feb, 19:42, Javier Hdez <droin...@gmail.com> wrote:
> Hello,
>
> I use Api Level 15 and I have a actionbar I need to display on devices
> with Eclair, Froyo y Gingerbread (below Api Level 11) but can not add
> Actionbar package (only to Fragments, as it says here >http://developer.android.com/sdk/compatibility-library.html:
>
> import android.app.ActionBar;
> import android.app.ActionBar.Tab;
> import android.app.Activity;
> import android.os.Bundle;
> import android.support.v4.app.Fragment;
> import android.support.v4.app.FragmentTransaction;
>
> I try for running in Gingerbread but i get this exception:
>
> 02-24 19:31:51.929: E/AndroidRuntime(11579):
> java.lang.NoSuchMethodError: com.example.Main.getActionBar
>
> Is possible to add actionbar in these versions without having to add a
> library / framework of third parties?
>
> Thanks,
>
> Best regards
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home