I have the following theme declaration in my values-v21 folder:
<style name="BaseTheme" parent="android:Theme.Material.Light.DarkActionBar">
<item name="android:colorPrimary">@color/brand_primary</item>
<item name="android:colorPrimaryDark">@color/status_bar_bg</item>
<item name="android:colorAccent">#FF00FF</item>
<item name="android:colorControlHighlight">#0000FF</item>
</style>
These colors apply to everything as expected (e.g. status bar or action mode) but all the controls (check boxes, radios, and buttons) in alerts still have the default turquoise color. Is there a way to colorize them too?
p.s. 我没有使用appcompat库,为了这个问题的目的,您应该假装我不支持低于Lollipop的任何内容。