tripeaks-gdx
tripeaks-gdx copied to clipboard
Auto dark theme on Android
An option to auto-select the dark theme based on the user's system settings would be a nice feature.
Hi. I'm not sure if libgdx has an api for querying system theme, but I can add this to my to-do list for my rewrite, that is unfortunately long interrupted due to multiple consecutive health issues. I'll need to redesign the options dialog anyway.
I'd be interested in implementing this if I may contribute. I imagine it should be possible to pass the system theme through the Android launcher if an API query doesn't exist.
A draft implementation on the system_theme
branch.
Asking for opinions: issue #27
An improvement would be to select the black theme as dark theme, not as an extra option, so the theme would still be dynamic (light/black).
I don’t know. I don’t want to remove the ‘regular’ dark theme or overcrowd the options dialog. I’ve actually considered adding a fifth option, like 'system with black' or something, but four options already fill the entire height of the dialog 🙂.
Included in the 1.2.0 release.