Get color value programmatically when it’s a reference (theme)
Consider this: styles.xml <style name=”BlueTheme” parent=”@android:style/Theme.Black.NoTitleBar”> <item name=”theme_color”>@color/theme_color_blue</item> </style> attrs.xml <attr name=”theme_color” format=”reference” /> color.xml <color name=”theme_color_blue”>#ff0071d3</color> So the theme color is referenced … Read more