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

文章目录

  • 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.
在这里插入图片描述

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/
在这里插入图片描述


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部