Changing app theme without recreating activity
问题 I have a custom theme with Theme.AppCompat.DayNight.NoActionBar as the parent with resources for both day and night modes. In the documentation, there is a method provided to change the theme and unless the current activity is recreated, the theme will only change the next time that activity is launched. Twitter and Pocket on the other hand change the themes without recreating the activity the user is on. How can i achieve this? 回答1: Twitter and Pocket on the other hand change the themes