简体   繁体   中英

Android Studio: How to design my own theme?

So I am running into a problem with my header having the wrong colors. (The header back button and the menu dropdown are both determined by the theme) and I want these to be a custom color.

How would I go about making my own theme, or what else should I do? I can see the Theme Editor is now deprecated, and the one I found online doesn't let me edit what I need to. Thanks!

Refer to the theme documentations

The gist of it is that you can create your own xml theme file and set it as the base theme. You can set all sort of attributes, such as font, colors and element styles.

Here is a blog article which is simpler and more detailed: https://www.vogella.com/tutorials/AndroidStylesThemes/article.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM