此代码
<style name="listViewPrefs" parent="@android:Widget.ListView">
...
</style>
产生以下Android Rescources Validation
错误:
无效的父母参考:预期为@style。不应有周期资源定义,因为这可能导致运行时异常。
如何解决?
我认为您必须使用like,
<style name="listViewPrefs" parent="@android:style/Widget.ListView">
...
</style>