How to place both top and bottom action bar in android -


this question has answer here:

just below image want show icon

click here

i want split top , bottom action bar in both landscape , portrait mode of smartphone. below code working in portrait mode(top , bottom action bar show) not in landscape mode bottom action bar options showed in top action bar.

 <application     android:uioptions="splitactionbarwhennarrow" 

i want show both action bar in both landscape , portrait mode of smartphone above image.

thanks

solution:

i have found nice solution problem, think benefited using solution

if want both action bar separate should use sherlock action bar library. using library can customize action bar like. here link

thanks

you want splitactionbar, try this:

androidmanifest.xml

 <application     android:uioptions="splitactionbarwhennarrow" 

http://developer.android.com/guide/topics/manifest/activity-element.html#uioptions

add bar @ bottom of screen display action items in actionbar, when constrained horizontal space (such when in portrait mode on handset). instead of small number of action items appearing in action bar @ top of screen, action bar split top navigation section , bottom bar action items. ensures reasonable amount of space made available not action items, navigation , title elements @ top. menu items not split across 2 bars; appear together.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -