My Images inside a ImageView change their color from to white when I turn on my Dark Mode.
I am putting some croppe screen shots of the images so you can understand better.
What my Images need to like(In Light Mode):
What my image look like in dark mode
The black color of the Image turned into white, and white into black when I turned ON dark mode.What should I do?
CodePudding user response:
I used android:forceDarkAllowed=false in the ImageView. And it worked.
CodePudding user response:
You can use setForceDarkAllowed(false) if you don't want this View to invert colors when dark mode is enabled.
Alternatively, you can use a different set of images for dark mode.