I am working on a reader app to be used on Ubuntu-Touch. When reading books from the app it would be a helpful feature to lock the orientation in either portrait or landscape. This would be useful when reading in bed sideways.
I've tried to use
automaticOrientation = false or true, however, the SDK currently locks the orientation in portrait when set to false.
Is there a way to lock the orientation of the device screen in one or the other and have it stay locked?
Newer releases of Ubuntu for Phone have a global option to lock orientation, however, I would still like to do this at the app level.
I am still looking for a way to do this.