Hi everyone my app has a very light color as primary color and the text in the statusbar is not visible anymore because it is white.
I wish to set it to dark in order to be readable
This is my Manifest, i tried different combination of themes, but maybe i'm not doing the right thing...
This Code is a convert from this Stackoverflow thread.
Private Sub isColorDark(color As Int) As Boolean
Dim darkness As Int = 1 - (0.299 * GetARGB(color)(1) + 0.587 * GetARGB(color)(2) + 0.114 * GetARGB(color)(3))/255
If darkness <= 0.5 Then
Return False 'It's a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.