theappbusiness / android-proxy-toggle

Small application to help android developers to quickly enable and disable proxy settings
MIT License
425 stars 59 forks source link

Implement a ThemeSwitcher to alternate between dark and light mode #16

Closed fmontesino closed 4 years ago

fmontesino commented 4 years ago

Why?

We want to give the users the option to switch between dark and light theme

What?

Added a ThemeSwitcher that will toggle between dark and light theme, storing the preference for future uses. Whenever the app is launched, it will first check if there's a stored setting and will apply automatically. If there's no stored setting, it will check the device configuration. If the configuration is set to dark, it will apply the dark mode automatically.

Bonus

Here some screenshots (dark theme is not yet implemented!) image image