android - Changing app theme without recreating activity -


i have custom theme theme.appcompat.daynight.noactionbar parent resources both day , night modes.

in documentation, there method provided change theme , unless current activity recreated, theme change next time activity launched.

twitter , pocket on other hand change themes without recreating activity user on.

how can achieve this?


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -