Actionbar and Splitactionbar on Android

Asked

Viewed 411 times

1

I’m trying to create an Android application with a menu at the top and one at the bottom. Searching I found the SplitActionBar but when I use it the whole part of ActionBar is in the footer. It is possible to use the ActionBar and the SplitActionBar together?

1 answer

1


Split action bar is a separate bar from the bar itself ActionBar. To use it, you need to implement Actionbar and specify its use on AndroidManifest.xml of Activity. Example:

<manifest ...>
    <activity uiOptions="splitActionBarWhenNarrow" ... >
        <meta-data android:name="android.support.UI_OPTIONS"
                   android:value="splitActionBarWhenNarrow" />
    </activity>
</manifest>

Here you can see a complete guide: Using split action bar

Browser other questions tagged

You are not signed in. Login or sign up in order to post.