I’ve been able to override any themes that have names with “android:” prepended to them, but the Android themes.xml also defines properties that don’t seem to be able to be overridden. For example:
<!-- Variation on the Light theme that turns off the title -->
<style name="Theme.Codebase" parent="android:style/Theme.Light">
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="colorBackground">@color/off_white</item>
</style>
colorBackground is defined in the Theme.Light xml, but adding this here gives me a
/res/values/styles.xml:10: error: Error: No resource found that matches the given name: attr 'colorBackground'.
error. How do I override that style for the Application as a whole?
You can overwrite standard attributes the same way you modified such properties as
windowNoTitle, just don’t forget to addandroid:prefix like this: