title: how to change/reset custom theme from Java code in android
body: <p>I have a change theme option in setting screen of my application and providing some custom themes to choose from .</p>
  
  <p>first of all i believe you can't set theme to entire app from your java code at once (please guide if there is any way to do so ) , thats why i am calling setTheme(my_theme) before super.onCreate() in every activity of app .
  Now when user change activity, this will reflect only at the time of relaunching any activity (becouse setTheme() is in OnCreate() ).</p>
  
  <p>So issue is how to let SetTheme() works in OnResume() or anywhere else in code , because i want to reflect these changes on previous screens in Activity Stack also .</p>
  
  <p>note that setTheme() works before setContentVIew() only ......</p>