Android Question Drawing Based On Current Theme

Foz

Member
Licensed User
Longtime User
I have two devices, one phone which uses a default of a dark/black background as the default back colour and another e-ink tablet which uses white as the default background.

When I come to doing custom drawing, I need to use the inverted colour, which won't be a problem if this question can be answered:

How can I determine the colour of the device theme? It seems that all the .Color properties are now write-only...
 

Foz

Member
Licensed User
Longtime User
Thanks for your response - I'll just create a day and night theme which the user can choose instead.
 
Upvote 0
Top