getTheme().applyStyle(…) multiple times without overwriting the previous one
问题 When I apply extra attributes to the AppTheme multiple times it overwrites the previous one. This is the code I am using: MainActivity: @Override protected void onCreate(@Nullable Bundle savedInstanceState) { getTheme().applyStyle(R.style.AppTheme_OverlayPrimaryRed); // If you change `false` to `true`, the overlay above is overwritten. if (false) { getTheme().applyStyle(R.style.AppTheme_OverlayAccentRed); } super.onCreate(savedInstanceState); ... } AppTheme.OverlayPrimaryRed: <style name=