parent="android:Theme.Holo"
中res/values/styles.xml
的含义是什么?
<style name="activated_dark_item" parent="android:Theme.Holo">
<item name="android:background">@drawable/mDrawable</item>
</style>
答案 0 :(得分:13)
父属性表示您当前的主题扩展了此父主题。它具有您可以在当前样式中覆盖的所有属性。它是一种风格的继承。
您也可以在此处查看:http://developer.android.com/guide/topics/ui/themes.html#Inheritance