ActionBar and SplitActionbar on Android

1

I'm trying to create an Android app with a menu at the top and one at the bottom. Searching I found SplitActionBar but when I use it all the ActionBar part is in the footer. Is it possible to use ActionBar and SplitActionBar together?

    
asked by anonymous 04.04.2014 / 03:08

1 answer

1

Split action bar is a separate bar of ActionBar itself. To use it, you need to implement the ActionBar and specify its use in 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

    
11.04.2014 / 14:54