Category "android-actionbar"

How to hide actionbar in Activity, but show in fragment

i have a fragment from an activity, i hide the actionbar in my activity like so supportActionBar?.hide() in the onCreate function of the activity when the app

Android: How to center activity label

I want to make the label(My App) to be aligned centrally in action bar. How should I do? Here is the current screen:

Toolbar subtitle is cut (It does not fit in height)

My question is very simple, but i can't figure it out: When i try to display a subtitle, the toolbar has not enough space do display it and it is cut. Toolbar

Back button in action bar opening and closing NavDrawer

I have a nav drawer set up in my main activity. In one of my fragments I want to hide the hamburger icon and show the back arrow (achieved) ActionBar bar =

Changing view on Menu Item in Action Bar

I'm attempting to implement a refresh button in my app to allow a user to manually re-sync to a web server. The code works, but I'm having trouble figuring out

getActionBar() returns null

I'm having an odd problem. I am making an app with targetsdk 13. In my main activity's onCreate method i call getActionBar() to setup my actionbar. This works

Android: how to hide ActionBar on certain activities

I've developed a simple demo application with a splash screen a map and some regular screens. I have an action bar at the top that contains a logo. It all look