Detecting change in device orientation
Is there a simple way of changing an attribute's value, based on device orientation? Something like this maybe:
<layer name="help" type="container" height="33%" height.mobile.landscape="50%" height.mobile.portrait="33%"
Or am I trying to do something fundamentally wrong here?
This post has been edited 1 times, last edit by "olly" (Aug 31st 2016, 3:40pm)