My app should do something every time the system theme changes status.
I'm using android studio, maybe Kotlin or Java.
My app should do something every time the system theme changes status.
I'm using android studio, maybe Kotlin or Java.
My app should do something every time the system theme changes status
Are you talking about dark theme?
If so, the trick is to use theme attributes instead of specific colors in your layouts and then use a theme that supports dark mode, see above link for more information.