Based on the SDK version, Android styles are grouped into different namespaces. To override a topic, you must follow its namespace.
For this reason, you do not need the android: prefix when expanding the AppCompat theme, but if you need something else, say Theme.Holo , you will have two different styles for them: one for pre-Lollipop and one for -21 , the latter has android: prefix android: before each style attribute.
Ognian Gloushkov
source share