I have an application with a MainActivity and few other activites. From the MainActivity I start a preference screen, where I set theme for my application.
MainActivity-> Settings->Choose Theme
Currently how it works:
I restart the application, start my Main activity and theme is applied to all the activites.
How I want it to work:
I want to restart the application and go back to the same screen where I set my Theme and not my MainActivity.
Can anyone please suggest me some ways in which I can do it?
Thank you in advance
EDIT:
How I want it to work:
Restart the application -> Go back to the "Choose Theme" Screen (Where it is set) .
Then when I press back button -> Settings screen -> and when pressed back again to my MainActivity.