How do I change the background color of the ActionBar of an ActionBarActivity using XML?

Details: I’m extending ActionBarActivity. Eclipse and SDK fully patched as of 2011-11-06. <uses-sdk android:minSdkVersion=”4″ android:targetSdkVersion=”14″ /> Deployed to Samsung device with Android 2.3.3 Application has android:theme=”@android:style/Theme.Light” Issue: application is light, but ActionBar is blue with grey icons, hardly visible against the blue background color. I also want the ActionBar to be light, so they grey … Read more

Full Screen Theme for AppCompat

I would like to know how can I apply full screen theme ( no title bar + no actionbar ) to an activity. I am using AppCompat library from support package v7. I’ve tried to applied android:theme=”@android:style/Theme.NoTitleBar.Fullscreen” to my specific activity but it crashed. I think it’s because my application theme is like this. <style … Read more

Can’t Find Theme.AppCompat.Light for New Android ActionBar Support

I am trying to implement the new ActionBar support library that was released by Google a couple days ago. In the past, I have successfully implemented ActionBarSherlock without any issues using the same method listed on Google Developer’s Support Library Setup page – using the guide on how to include the resources (which is similar … Read more

Android toolbar center title and custom font

I’m trying to figure out the right way to use a custom font for the toolbar title, and center it in the toolbar (client requirement). At the moment, i’m using the good old ActionBar, and I was setting the title to empty value, and using setCustomView to put my custom font TextView and center it … Read more

This Activity already has an action bar supplied by the window decor?

I am making an Android app using Toolbar with Custom style but when i’m running the app, i’m getting the following error: Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead. Styles.xml … Read more