Skip to content Skip to sidebar Skip to footer

Android:windowactionbaroverlay & Android:actionbarstyle Requires Api Level 11

I am making an android app and using android-support-v7-appcompat to make sure my app support action bars from android version 2.2 and up. I need to make the Action Bar overlay and

Solution 1:

Found solution to my problem :

I have to make separate styles.xml in res/values-v11 to support the same functionality in android 3.0 and up

Solution 2:

To use the action bar overlay with the support library, do this:

<!-- Support library compatibility --><itemname="windowActionBarOverlay">true</item>

Notice how the style name does not include the android: prefix.

Post a Comment for "Android:windowactionbaroverlay & Android:actionbarstyle Requires Api Level 11"