android style文件 parent @android与android,Theme有什么不同 如图
没什么区别 引用不同
两者得到的结果并没有什么区别,都是对系统样式资源的引用,比如@android:style/Theme.Dialog
和android:Theme.Dialog
都是指向了同一个系统级theme,要说区别,应该就是绝对路径和相对路径的区别(个人比喻),推荐使用相对路径方式引用,即@android:/style
这种方式。
android style文件 parent @android与android,Theme有什么不同 如图
没什么区别 引用不同
两者得到的结果并没有什么区别,都是对系统样式资源的引用,比如@android:style/Theme.Dialog
和android:Theme.Dialog
都是指向了同一个系统级theme,要说区别,应该就是绝对路径和相对路径的区别(个人比喻),推荐使用相对路径方式引用,即@android:/style
这种方式。