As far as I know, this is not possible. The ActionBar is not inherited from View, so you cannot get any layout options. I believe that it is actually located outside the window that comes with your activity. So for the effect you are describing, the custom action bar might be ok. Alternatively, you might think of a transparent / translucent action bar overlaying your activity that you show / hide when that bar pops up (as mentioned here ) - just a thought, but end up doing what you think offers The best UX for your application.
source
share