android_styles.xml和themes.xml文件有啥区别/各是什么

overview

There is no functional difference between styles.xml and themes.xml as many answers have indicated.

It is worth noting that Google’s iosched2014 app has ONLY a styles.xml (no themes.xml).

The name of the XML file is arbitrary

To create a set of styles, save an XML file in the res/values/ directory of your project.
The name of the XML file is arbitrary, but it must use the .xml extension and be saved in the res/values/ folder.
在这里插入图片描述

the offical doc:

https://developer.android.google.cn/guide/topics/resources/style-resource?hl=zh_cn

The root node of the XML file must be .

还可以参考博文

https://brainflush.wordpress.com/2009/03/15/understanding-android-themes-and-styles/
在这里插入图片描述

posted @   xuchaoxin1375  阅读(4)  评论(0编辑  收藏  举报  
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2023-10-05 EM@等比数列
2023-10-05 java_抽象类实例:员工工作
点击右上角即可分享
微信分享提示