Open Miguel-Rodrigues opened 2 years ago
Thank you for your interest in the Android version of QPrompt. I'm looking forward to improve the Android experience, for it's the version that needs most care right now.
Is it possible to add a setting to rotate text 90 degrees?
Wrote some test code, because I had my doubts, but yes! It is possible to add this option.
Alternatively would it be possible to create a widget that floats over the rest of the UI, that assumes whatever rotation the phone/tablet os orientated.
I had looked into this before. Code-wise, these are two separate features:
What do you think of these two approaches?
Hello, @Cuperino. I think in resource/time concerns, the first option is the most optimal since it is already supported by the app engine, and it already supports floating windows. It is not the greatest use case since you either overlay more than half of the screen camera, or it becomes so small at a corner that you may not be able to read properly, as you cannot resize the floating window to a proper size that would allow to read the teleprompter and view most of the screen... This camera app is weird... It locks the system orientation but rotates the the Icons for a seamless transition between orientations and does not support split screen feature or create a screenshot. Ultimately the best case is using two independent devices, one for camera and the other as teleprompter.
The second alternative, I understand the technical implications of implementing a floating widget that works regardless of system orientation. Could be something for the future, as the first approach is good enough for most uses, using selfie camera. One possibility would look like a scrolling subtitle that fades in and out of view, with control buttons at the left, bottom or right of the text, depending of the orientation, over a semi transparent background.
Best regards.
Feature partially implemented for next release.
The camera app that comes built-in Xiaomi MIUI does not rotate, locking the screen rotation in the portrait orientation. This means if I use QPrompt as a floating window over the camera app, the text appears rotated 90 degrees when shooting in landscape orientation.
Is it possible to add a setting to rotate text 90 degrees? This feature could be available at: Three dots menu > flip settings > 90° Rotation
Alternatively would it be possible to create a widget that floats over the rest of the UI, that assumes whatever rotation the phone/tablet os orientated.
In attachment show a practical example of the current behaviour.
Best regards!