Cyanea
Cyanea copied to clipboard
ColorPrimary doesnt work in targetSdk 29+
If you set the targetSdk to 29+ the colorPrimary will not be applyed.
This can be observed in the Java Demo provided, if you change the targetSdk to 29+, the ToolBar will not change its color
After a few more research, the bug is with Drawables, in XML if you use android:background="?colorPrimary"
, it will use the app primary color and not the one from Cyanea. The workarround is to force the color programmatically from a Cyanea instance
After a few more research, the bug is with Drawables, in XML if you use
android:background="?colorPrimary"
, it will use the app primary color and not the one from Cyanea. The workarround is to force the color programmatically from a Cyanea instance you can use ### android:background="@color/cyanea_primary_reference" tested and worked on api 29+
Still not solved