What is the difference between
<style name="AppTheme" parent="android:Theme.Holo.Light">
<item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
And
<style name="AppTheme" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
Notice the difference in the parent syntax of using @android:style/
vs just using android:
.
I have already seen What's the difference between “?android:” and “@android:” in an android layout xml file? but note that my example doesn't include the question mark.
Copyright Notice:Content Author:「Adam Johns」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/28460031/android-style-syntax-android-vs-android