watesoft Active Member Licensed User Longtime User Feb 18, 2023 #1 I have three Activities. how to change the theme of only one of them?
asales Expert Licensed User Longtime User Feb 19, 2023 #2 I use this in an old app. Don't know if it works yet. Put the lines in the manifest: B4X: SetActivityAttribute(mymodule1, android:theme, @style/Theme.Transparent) SetActivityAttribute(mymodule2, android:theme, "@android:style/Theme.Holo.Light") Upvote 0
I use this in an old app. Don't know if it works yet. Put the lines in the manifest: B4X: SetActivityAttribute(mymodule1, android:theme, @style/Theme.Transparent) SetActivityAttribute(mymodule2, android:theme, "@android:style/Theme.Holo.Light")
watesoft Active Member Licensed User Longtime User Feb 19, 2023 #3 asales said: I use this in an old app. Don't know if it works yet. Put the lines in the manifest: B4X: SetActivityAttribute(mymodule1, android:theme, @style/Theme.Transparent) SetActivityAttribute(mymodule2, android:theme, "@android:style/Theme.Holo.Light") Click to expand... Thank you for your response, I have tried it and it works, however, It couldn't find "@style/Theme.Transparent", but it has nothing to do with my app. Upvote 0
asales said: I use this in an old app. Don't know if it works yet. Put the lines in the manifest: B4X: SetActivityAttribute(mymodule1, android:theme, @style/Theme.Transparent) SetActivityAttribute(mymodule2, android:theme, "@android:style/Theme.Holo.Light") Click to expand... Thank you for your response, I have tried it and it works, however, It couldn't find "@style/Theme.Transparent", but it has nothing to do with my app.