Languages

Menu
Sites
Language
S2 UI Builder + UI Orientation

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

Responses

1 Replies
Alex Dem

Hi, I think that you could not use window manager for Gear S2(as for Tizen mobile) although i have tried to add elm_win_wm_rotation_supported_get(ad->win) into native project and api returns true. In fact after app does not react on orientation change. I was able to see orientation change only if Gear S2 device is on charging. Alexey.