Theme styles in the Styles.xml file, there are generally two types of inheritance:
Inherit Android Theme
<style name= "Appbasetheme" parent= "Android:Theme.Holo" >
If you rewrite the style, you need to add Android to the name :You can see the parent reference parent= "android:Theme.holo"
<item name= "Android:actionbarstyle" > @style/myactionbar</item>
Inherit AppCompat theme (V7 under Package topics)
<style name= "Apptheme" parent= "Theme.AppCompat.Light.DarkActionBar" >
If you rewrite the style, you don't need to add Android to the name :You can see that the parent reference does not have "Android:".
<item name= "Colorprimary" > @color/colorprimary</item>
<item name= "Colorprimarydark" > @color/colorprimarydark</item>
<item name= "Coloraccent" > @color/coloraccent</item>
Summary: The theme that should be custom inherited from ANDROIDSDK needs to be added "Android:", custom Inheritance V7 under the theme of the package is not required .
Android Theme Theme Inheritance (SDK under Themes and V7 package under themes)