Get style.xml reference for background color?
ItsCalebJones opened this issue · 2 comments
ItsCalebJones commented
Would be nice to have a few of the other references but namely:
@color/cyanea_background_reference
jaredrummler commented
You should be able to use ?backgroundColor
. There is no @color/cyanea_background_reference
to support both light and dark themes.
ItsCalebJones commented
If I use ?backgroundColor with a MaterialDrawer it shows as transparent.
<style name="BaseAppTheme.DarkBackground" parent="BaseAppTheme">
<item name="material_drawer_background">?backgroundColor</item>
<item name="material_drawer_primary_text">@color/material_drawer_dark_primary_text</item>
<item name="material_drawer_primary_icon">@color/material_drawer_dark_primary_icon</item>
<item name="material_drawer_secondary_text">@color/material_drawer_dark_secondary_text</item>
<item name="material_drawer_hint_text">@color/material_drawer_dark_hint_text</item>
<item name="material_drawer_divider">@color/material_drawer_dark_divider</item>
<item name="material_drawer_selected">@color/material_drawer_dark_selected</item>
<item name="material_drawer_selected_text">@color/material_drawer_dark_selected_text</item>
<item name="material_drawer_header_selection_text">@color/material_drawer_dark_header_selection_text</item>
</style>