概述
- style和theme都位于res/values/,通常命名为styles.xml
- style是对特定一个View起作用的,theme是对整个app、activity、view树起作用
- style与theme的根标签都是<style>,<style>都需要指定parent属性用来继承framework或者library中的<style>从而获得对不同系统的兼容性
- theme设置的背景发生在app process被create之前
本文标题:Android的style和theme
本文链接:https://www.haomeiwen.com/subject/sexhoqtx.html
网友评论