S2 UI Builder + UI Orientation

S2 UI Builder + UI Orientation

BY 13 Apr 2016 Native Application Development

Is there a way to rotate the entire UI when an app is launched? I want to create an app that, when launched, automatically rotates all UI elements and relative motion by 90 degrees, in sort of a “landscape” mode. This would be similar to how everything rotates when you dock the device for charging. For example, a “bottom button” in Elementary would not exist right above the strap mounting area, but instead would be directly above the home/back buttons.

Or, if there is a way to detect the orientation of the device to rotate everything automatically to landscape, I would be open to that as well. Again, what I am hoping to achieve is an app that operates 90 degrees from normal – ie, it would work with the watch laying on it’s side on the table, vs “vertically” on someone’s wrist.

Thanks,

Matt

Written by