How can change my Delphi Android App to "Dark mode"?

778 views Asked by At

I have my app in Delphi 10.3 for Android and I'm trying to convert it to "dark mode" but many controls are missing a color attribute so some are still bright white. I have no idea how to handle the "Styles" that seem to be around. Are there any hints you can give me on how to implement this?

2

There are 2 answers

0
SergeGirard On

I put a test program in a github repository but without any explanations. Not tested with 10.3 but should work I think. Light_Dark_Side Goal was first to detect Dark/Light mode and then check how to use TStyleManager

0
Wolfgang Bures On

by putting a stylebook on my form and loading a PRESET TEMPLATE (dark in my case) I was able to change my app to dark mode without any design changes myself.