Hi there,
I'm dealing with a mobile layout which need to be adapted dynamically for PORTRAIT and LANDSCAPE modes. Currently I'm finding out the orientation of the device comparing "stageheight" with "stagewidth" which works fine but, I was wondering if there is some already existing parameter which indicates which orientation do we have at mobile/tablets. ¿Any idea?
Thank you.
Luis