0
点赞
收藏
分享

微信扫一扫

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

耶也夜 2022-06-14 阅读 89


文章目录

  • ​​overview​​
  • ​​The name of the XML file is arbitrary​​
  • ​​the offical doc:​​
  • ​​还可以参考博文​​

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.
android_styles.xml和themes.xml文件有啥区别/各是什么_xml

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/​​​android_styles.xml和themes.xml文件有啥区别/各是什么_xml_02


举报

相关推荐

0 条评论