Android - Change Holo theme default blue color

纵饮孤独 提交于 2019-12-03 05:49:03

问题


I would like to customize Holo theme by changing the default blue color to fit my company color. Is there an easy way to do this? Or I have to redefine the style of all components with blue parts, such as dialog titles, actionbar bottom line, pushed buttons, pickers, etc.


回答1:


I cannot add anything more than this link:

http://android-holo-colors.com/

Android Holo Colors Generator

The Android Holo Colors Generator allows you to easily create Android components such as editext or spinner with your own colours for your Android application. It will generate all necessary nine patch assets plus associated XML drawables and styles which you can copy straight into your project. If you have any question, please refer to the FAQ or report an issue.

;-)




回答2:


As an addition to Waza Be's answer, you might want to use this for styling the Action Bar:

The Android Action Bar Style Generator allows you to easily create a simple, attractive and seamless custom action bar style for your Android application. It will generate all necessary nine patch assets plus associated XML drawables and styles which you can copy straight into your project.

This blog has an excellent tutorial on how to use it properly.



来源:https://stackoverflow.com/questions/13257219/android-change-holo-theme-default-blue-color

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!