Is it possible to use dropdown AND tabs as navigation in the action bar?

Viewed 8557

Is it possible to have both, an spinner/dropdown at the top and tabs just below in the action bar? I want to use the spinner at the top of the action bar as view-switch controller (i.e. table view or chart view) while the tabs below is going to show different lists of data.

The following screen shot illustrates exactly what I want to achieve:

enter image description here

If it's not possible having both modes in the action bar, I could put an TabWidget at the top of my content view. However, I'm little bit unsure if I should have one fragment or one activity per tab.

4 Answers
Related