Answer the question
In order to leave comments, you need to log in
How to implement night theme in android application?
I want to make a night theme in my app that activates when a button is clicked. In this case, the activity should not be recreated (important). With a night theme, for example, the color of buttons, background, etc. changes
Answer the question
In order to leave comments, you need to log in
In this case, the activity should not be recreated (important)Think carefully about whether this is so important, because changing the theme without recreating the activity will have to write a lot of code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question