Android v21 Theme.Appcompat color accent is ignored, no padding on dialogs
问题 I'm using ActionBarActivity from the Android 5 SDK and here is my theme.xml for v21 <style name="AppTheme_Light" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="android:colorPrimary">@color/abc1</item> <item name="android:colorPrimaryDark">@color/abc2</item> <item name="android:colorAccent">@color/abc3</item> </style> But the colors are ignored, and are replaced by a default teal color and all the dialogs appear without padding. Also, padding is also ignored in other places like