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

后端 未结 20 2711
我寻月下人不归
我寻月下人不归 2020-11-22 01:09

Details:

I\'m extending ActionBarActivity.
Eclipse and SDK fully patched as of 2011-11-06.



        
20条回答
  •  鱼传尺愫
    2020-11-22 01:56

    Use this - http://jgilfelt.github.io/android-actionbarstylegenerator/

    Its an amazing tool that lets you customize your actionbar with a live preview.

    I tried the earlier answers but always had problems with changing other colors like the tabs and letters and spent hours tweaking stuff. This tool helped me get my design done in just a couple of minutes.

    Here's a screenshot of the tool

    All the best! :)

提交回复
热议问题