The tag refers to a method of interaction with graphical user interface. Instead of simply choosing, user may draw a shape (so called gesture) over an item, which is recognized by the software and triggers specific reaction. Gestures are very popular, but not limited to touchscreen applications.
Questions tagged [gestures]
516 questions
3
votes
1 answer
disable swipe between tabs in android tablayout
I'm developing an android app that has a page with a tablayout including 2 tabs, a list page and a map (both are fragments). The list elements are viewpagers holding images, but when the user reaches the last image in the viewpager, the tablayout…

Analizer
- 1,594
- 16
- 30
3
votes
1 answer
Swift UITapGestureRecognizer Slow
I am having delays with using the UITapGestureRecognizer, I know this will be due to:-
singleTap.requireGestureRecognizerToFail(doubleTap)
but this is required due to single tap being called at the same time as a double tap. Is there another way…

Rachel
- 495
- 3
- 10
3
votes
0 answers
Qt Swipe Gesture not working
I am trying to enable a swipe gesture in my widget, but unfortunately it is not working.
I followed the documentations and examples that are provided by Qt.
Here is a part of my code:
MainWindow::MainWindow(QWidget *parent) :
…

Jari
- 31
- 3
3
votes
0 answers
Hammer JS swipe not working on the document body
I'm using HammerJS to detect left swipes on touch screen devices. I'm trying to open a slide-out menu every time the user swipes left anywhere on the page when browsing on a touch-screen device. It works fine in portrait mode but not in landscape. I…

Snowman
- 1,160
- 1
- 8
- 24
3
votes
1 answer
How to track user's gestures and taps across the entire app?
Does iOS 7/8 support tracking after user's gestures and taps across the entire app, without the need to literally listen on every view?

thedp
- 8,350
- 16
- 53
- 95
3
votes
1 answer
Why would changing the StrokeType of a GestureOverlayView affect the standard behaviour of the view?
I recently introduced multi-stroke gestures into my application. This is a preference so I set the StrokeType dynamically in Activity.OnCreate. What I have discovered is that if you set the StrokeType dynamically, it changes the behaviour of the…

Rob Kent
- 5,183
- 4
- 33
- 54
3
votes
1 answer
Android Double Tap Fires Twice
I used the following double tap code
setOnTouchListener(this);
detector = new GestureDetector(context, new GestureDetector.SimpleOnGestureListener() {
@Override
public boolean onDoubleTapEvent(MotionEvent ev) {
int x =…

user3422687
- 229
- 1
- 8
- 27
3
votes
1 answer
How to create a zoomable activity in Android Studio?
Basically, I just need my activity to feely zoom with the standard gestures: spread to zoom in, pinch to zoom out, and double tap to zoom in and double tap again to zoom back out
So far all my activities only fit to scale. My activity for the…

btrballin
- 1,420
- 3
- 25
- 41
3
votes
1 answer
Tracking and analyzing unresponsive gestures in ios
I'm currently implementing analytics related scenarios that will fire events using Localytics.
I would like to track every "wrong" gesture, that means if a user tapped something he thought was tappable (but wasn't) or panned a view he thought was…

David Ben Ari
- 2,259
- 3
- 21
- 40
3
votes
2 answers
Using gestures with SpriteKit to Drag, rotate and scale multiple sprite separately at the same time
I have created an iOS app in which I need to be able to move, rotate and scale a sprite ( I am using Apple's Sprite Kit) at the same time. For the most part I have this working. I currently can touch with 1 finger and move the sprite, and if I use…

user3491793
- 61
- 1
- 4
3
votes
1 answer
Force two finger scroll for UITableView but disable one finger scroll
I want my UITableView to scroll only when using two fingers.
I realize this is not standard behavior but my app has a specific use case that users will understand. How do I do this so that two fingers scrolling works like one finger scrolling in…

Craig Conover
- 4,710
- 34
- 59
3
votes
1 answer
Disable GestureDetector in Activity
In my app, I have an activity that uses onTouchEvent() to calculate screen input. But on some phones, eg. Samsung Galaxy S4 the event is aborted in favor of GestureDetector, with the log message:
GestureDetector(23138): [Surface touch Event] Palm…

kochauf
- 356
- 3
- 7
3
votes
2 answers
swipe and pan gesture overlap
is it possible to let a specific gesture fail so the next possible gesture is recognized?
to be more specific, look at the sample snippet:
UISwipeGestureRecognizer *swipeLeft = [initialize UISwipeGestureRecognizer...…

rgb
- 33
- 1
- 4
3
votes
1 answer
GestureOverlayView is intercepting common gestures, how to avoid this?
I'm developing an app which needs to detect common (double tap, fling, etc) and custom gestures (circle). To achieve this i'm using the GestureOverlayView as you can see in my code:
private GestureDetectorCompat mGestureDetector;
private…

jorgepr
- 307
- 4
- 15
3
votes
2 answers
ShowcaseView with gestures
I'm using the great ShowcaseView library in my project. Along with that I'm also using this awesome wrapper class ShowcaseViewExample to show the views one after the other.
This works great but I'm lost as to how to use gestures.
Code so far:
…

input
- 7,503
- 25
- 93
- 150