The ActivitySize keyword in designer scripts is great so I can make my design dependent of the screen size.
I'm missing ActivityHeight and ActivityWidth keywords. Background is that I want to check if the device is in portrait or landscape mode in a designer script that is loaded by a panel. Because it is loaded by a panel I can't use 100%x and 100%y values. I need the values of the activity.
Any usable workaround for this? I don't see one other than using two variants for the scripts but this produces much duplicated code.
Would be nice if ActivityHeight and ActivityWidth keywords could be added to designer scripts.