O Omar Member Licensed User Longtime User Mar 8, 2012 #1 Hello, I wanted to confirm if it is possible to change the Android Theme defined through the XML during runtime of the application. I have tried to search for such a solution but unable to confirm if this can be done.
Hello, I wanted to confirm if it is possible to change the Android Theme defined through the XML during runtime of the application. I have tried to search for such a solution but unable to confirm if this can be done.
O Omar Member Licensed User Longtime User Mar 9, 2012 #2 Just a friendly follow-up if anyone has a suggestion for this. Thank you. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2012 #3 I don't think that it is possible. The theme can only be changed before the first view is created. Your code runs after the main activity view is already created. Upvote 0
I don't think that it is possible. The theme can only be changed before the first view is created. Your code runs after the main activity view is already created.
O Omar Member Licensed User Longtime User Mar 9, 2012 #4 Thank you Erel. That's what I thought. Appreciate your help though. Upvote 0