<style name="AppTheme" parent="android:Theme.Holo.Light">
<item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
而且
<style name="AppTheme" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
注意在使用@android:style/
VS只是用android:
的父語法的差異之間的差異。
我已經看到What's the difference between 「?android:」 and 「@android:」 in an android layout xml file?但請注意,我的示例不包括問號。