Android Question AppCompat: diff themes for diff activites ?

palmzac

Active Member
Licensed User
Longtime User
Hi,

There is a problem that I want to make two activites with diff theme. One is 'windowNoTitle=ture'. Other one is 'windowNoTitle=false'. Is it possible ? How to do that ?

Thanks for your help !

palmzac
 

somed3v3loper

Well-Known Member
Licensed User
Longtime User
Did you try something like this ?
B4X:
SetActivityAttribute(main,android:theme, "@style/windowNoTitleTheme")
B4X:
SetActivityAttribute(secondactivity,android:theme, "@style/windowTitleTheme")
 
Upvote 0
Top