TheLibrarian
Lurker
Hi,
I am currently doing multi-variant app and I came across an issue when I am not really sure what is the best solution for it.
I can't seem to grasp how to avoid redeclaring color attributes in themes that "can't" inherit from my main theme.
For example, classic AlertDialog - theme for it inherits from AppCompat/MaterialComponents and if I would want to style/theme the dialog(color-wise) I would have to copy all the attributes I intend to use from my main theme.
Is this just the way it has to be? (I am slightly aware that ThemeOverlays might be able to ease this but not researched it fully yet)
I am currently doing multi-variant app and I came across an issue when I am not really sure what is the best solution for it.
I can't seem to grasp how to avoid redeclaring color attributes in themes that "can't" inherit from my main theme.
For example, classic AlertDialog - theme for it inherits from AppCompat/MaterialComponents and if I would want to style/theme the dialog(color-wise) I would have to copy all the attributes I intend to use from my main theme.
Is this just the way it has to be? (I am slightly aware that ThemeOverlays might be able to ease this but not researched it fully yet)