Daniele Segato
10/05/2022, 8:41 AMvalues/colors.xml
and values-widecg/colors.xml
that were picked up by my theme.
There's a constructor for Color()
that takes colorSpace = ColorSpaces.ExtendedSrgb
, I assume i have to use this.
Than what? Just check if the current window display is wide gamut to pic one color or the other? Anything else i need to do? Any handy Local provider to obtain this or do i need to go through the LocalContext
, find the activity etc...?
Do I need the activity android:colorMode="wideColorGamut"
?
Couldn't find much documentation around this topic.
Thanks