Top "Android-actionbar" questions

The ActionBar is Android's window feature that identifies the application and user location, and provides user actions and navigation modes.

How to get the ActionBar height?

I am trying to get the height of the ActionBar (using Sherlock) every time an activity is created (specially to …

android android-actionbar
How to change the background color of Action Bar's Option Menu in Android 4.2?

I'd like to change the background color of the option (overflow) menu in Android 4.2. I have tried all the methods …

android android-actionbar android-4.2-jelly-bean android-theme android-menu
ActionBarCompat: java.lang.IllegalStateException: You need to use a Theme.AppCompat

I am getting a RuntimeException on Android 2.3.5 but I am using Theme.AppCompat (res/values/themes.xml). This is the …

android android-actionbar runtimeexception
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 …

android android-3.0-honeycomb android-actionbar
Setting Custom ActionBar Title from Fragment

In my Main FragmentActivity, I setup my custom ActionBar title like this: LayoutInflater inflator = (LayoutInflater) this .getSystemService(Context.LAYOUT_INFLATER_…

java android android-fragments android-actionbar android-fragmentactivity
Android: How to change the ActionBar "Home" Icon to be something other than the app icon?

My application's main icon consists of two parts in one image: a logo and a few letters below it. This …

android android-3.0-honeycomb android-actionbar
How to get Toolbar from fragment?

I have ActionBarActivity with NavigationDrawer and use support_v7 Toolbar as ActionBar. In one of my fragments toolbar has custom …

android android-fragments android-actionbar android-support-library android-toolbar
setSupportActionBar toolbar cannot be applied to (android.widget.Toolbar) error

I've been looking for an answer and I've tried many possible solutions, but nothing seems to work.. I'm trying to …

android android-actionbar material-design toolbar
How to Set a Custom Font in the ActionBar Title?

How (if possible) could I set a custom font in a ActionBar title text(only - not the tab text) …

android fonts android-actionbar
Remove icon/logo from action bar on android

I've been trying to find some way of removing the icon/logo from the action bar but the only thing …

android xml android-layout android-actionbar titlebar