re: Android Vitals - Diving into cold start waters 🥶 VIEW POST


Thanks for the article! Is there any chance to implement dynamic change of theme-based things? Like android:windowBackground . Looks like it's loaded from manifest and used for Preview window (starting and switches between activity stacks). So programmatical changes like setTheme() (or changing background of getWindow()) in Activity or Application doesn't affect it. It makes trouble when the app should use custom themes with different colors, but android:windowBackground is same for all of them.


The theme of whichever activity is launched will be used, and that's the only way you can somewhat customize the launching window style, since it runs before any of your code runs.

code of conduct - report abuse