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>
最佳答案
父级属性表示您当前的主题扩展了该父级主题。它具有您可以用当前样式覆盖的所有属性。它是样式的一种继承。
您也可以在这里检查:http://developer.android.com/guide/topics/ui/themes.html#Inheritance