Is there a way to lock the device orientation?

This would help position my UI elements consistently.

Use supportedOrientations(LANDSCAPE) or Use supportedOrientations(PORTRAIT), whichever one you need.

Thank you friend!