安卓笔记--Style的继承

比如想要重写一个对话框的style

<style name="Theme_dialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowNoTitle">true</item>
</style>

在<style>节点设置父属性 parent="your style"

原文地址:https://www.cnblogs.com/muyuge/p/6333586.html