Android:使用默认样式

Android:使用默认样式,android,styles,themes,Android,Styles,Themes,当我使用style@android:style/AlertDialogWindowTitle和AlertDialog是平台中的私有样式时,也会出现相同的错误,您无法引用它们 aapt的一些古老版本有一个bug,允许您引用私有样式,但它在很久以前就被修复了。私有样式的资源标识符不能保证在整个平台构建中保持不变,因此,即使您设法在某个地方找到了资源标识符,它也可能在某个时候中断 如果需要扩展特定的专用平台主题,请将所需的样式定义从复制到您自己的项目中。从平台资源复制定义是什么意思? <styl

当我使用style
@android:style/AlertDialog
WindowTitle
AlertDialog
是平台中的私有样式时,也会出现相同的错误,您无法引用它们

aapt的一些古老版本有一个bug,允许您引用私有样式,但它在很久以前就被修复了。私有样式的资源标识符不能保证在整个平台构建中保持不变,因此,即使您设法在某个地方找到了资源标识符,它也可能在某个时候中断


如果需要扩展特定的专用平台主题,请将所需的样式定义从复制到您自己的项目中。

从平台资源复制定义是什么意思?
<style name="test" parent="@android:style/WindowTitle"></style>
Description
Resource Path Location Type

error: Error retrieving parent for item: No resource found that matches the given name '@android:style/WindowTitle'.
styles.xml  /alertdialogapp/res/values  line 3  Android AAPT Problem