Open itkhanz opened 1 year ago
@itkhanz What is the Rotate
as gesture?
@itkhanz What is the
Rotate
as gesture? It is basically a multitouch gesture with two fingers to move them in a clockwise/anti-clockwise direction to rotate the object in view. For example, an image orientation may be changed with this gesture from portrait to landscape and vice-versa.
Apple's SwiftUI and XCUITest has a support for rotation gesture. I am mentioning some links below for reference:
XCUIElement Actions and Gestures XCUIElement rotate gesture Handling rotation gestures
I could not find anything in Espresso or UIAutomator2 to test this gesture in Android. Though there is a documentation to implement this gesture in android as well: Multitouch: Panning, zooming, rotating
In my opinion, it is not as common gesture as some of the others.
This Touch Gesture Reference Guide by Luke Wroblewski demonstrates various gestures in concise manner with illustrations. Touch Gesture Reference Guide
@itkhanz For rotate you can use native mobile: commands
This plugin has really done a great job in easing the usage of gestures. It would be nice to see an upcoming release with the added support for common gestures such as:
[ ] Pinch/Spread (Zoom in and Zoom out)
[ ] Multi Finger Swipe
[ ] Rotate
[x] Double Tap -> Implemented in v3.0.0
This would enable the users to solely rely on gestures-plugin for all the common gestures. I believe these addition will make the plugin even more better.