android-gesture Questions

2

Solved

I'm running my Android Application `Android-13, in the Logcat I'm seeing this warning, How to resolve this? OnBackInvokedCallback is not enabled for the application. Set 'android:enableOnBackInvoke...
Predispose asked 20/9, 2022 at 6:16

7

Is there anyway to prevent double tap on ListView in Android? I found this when i accidentally tapped item on ListView and it opened up two new window. is there any way to prevent it from opening a...
Dillon asked 10/2, 2014 at 20:27

4

How to swipe to previous activity using gesture and animation like in Telegram and Tinder app?

3

Solved

I've seen some solutions here, but none of them works for me. I am using View.OnTouchListener class to detect click and drag events in my app code. But that beautiful ripple effect is now gone (per...

2

Solved

I'm somehow getting unexpected results while trying to implement multitouch in my app. I'm never getting data for more than one pointer. Multitouch on my phone surely works, because I can pinch-zo...
Didynamous asked 7/5, 2012 at 14:51

3

Solved

I'm working on an application (on a Galaxy Nexus), and I noticed that Google implemented the "Google Now" application when you swipe from the bottom of the bezel onto the screen (the chrome browser...
Pericynthion asked 15/8, 2012 at 13:49

3

Solved

According to android training if you extend GestureDetector.SimpleOnGestureListener, and return false from onDown(...) than the other methods of GestureDetector.SimpleOnGestureListener will never g...
Fessler asked 17/4, 2014 at 0:10

2

Using this mGestureDetector = new GestureDetector(context, new GestureDetector.SimpleOnGestureListener() { @Override public boolean onSingleTapUp(MotionEvent e) { return true; } Only detect...
Benefactor asked 7/6, 2015 at 11:57

1

Solved

I am testing on Pixel device with Fingerprint Gestures ON from accessibility. I am trying to get the gesture callbacks using FingerprintGestureController but never getting any gestures in return ev...

2

I have been finding a way to implement animation like Facebook and Google Photos. When in 2nd Activity, when dragging images the images follow and the 2nd Activity started to fade out and we see 1s...

3

Solved

I'm using the following code to detect swipe in my Activity: getWindow().getDecorView().getRootView().setOnTouchListener(new OnTouchListener() { @Override public boolean onTouch(View v, MotionEv...
Vituperate asked 22/4, 2013 at 7:5

6

Can we use scale gesture detector for pinch zoom in Android?
Incus asked 26/4, 2011 at 12:43

4

Solved

I like to develop an app that is similar to Swapps .i am trying to display a button on top of any screen and that should occur only on a swiping action.I tried with the below code WindowManager.L...
Titanism asked 18/2, 2013 at 14:42

2

First of all this is a follow up question originally asked here, Pan, Zoom and Scale a custom View for Canvas drawing in Android Since there was no answer yet, I finally solved my issue using the ...

0

I'm working on a drawing app, where the user can pan & zoom to a specific portion of the screen and start drawing with zoom applied. To be more specific, I'm looking for a way to implement zoom...
Tetragon asked 25/8, 2016 at 22:14

2

Solved

I am trying to implement the "swipe left to right to delete" gesture that is present for the notifications in Android ICS and above. I have a listview in my application. I have the gesture detector...

2

Solved

I want to implement multi select gesture in my app like in new Google Photos App here: I have tried following this answer, but couldn't do this. Can anyone just guide me?

3

I am working on a simple book reader app for Android. I have used the listview for this. What I am doing is loading the remote images from server into my Listview (Using the picasso library) and ...
Ellon asked 27/8, 2015 at 6:30

3

I have implemented Tab view as well as Horizontal swipe view(to change tabs) with Navigation mode as Lists for the application. I am using ActionBarSherlock & TabPageIndicator. I used fragments...
Lipase asked 28/11, 2012 at 8:30

1

Solved

What is the difference between onScroll() and onFling() in the GestureDetector interface? When I print out the events they are showing the exact same things. At least the last onScroll() and the on...
Statfarad asked 22/1, 2015 at 21:10

0

What I have Tried: I'm drawing shapeDrawables in onDraw(Canvas canvas) in a custom view with using GestureListener in view for Scroller (not scrollview). code is available on Gist I'm trying to t...

1

Solved

What I have Tried: I'm drawing shapeDrawables in onDraw(Canvas canvas) with specified the bounds. Added Handle Input Gestures which allow the view to scroll in any direction like 2d scroll view lik...
Geomancy asked 15/10, 2014 at 7:15

3

I'm writing my own image viewer that enables users to swipe left\right to see the next\previous image. I want to animate the image change according to the fling velocity. To detect a fling gesture...

2

I have a ListView which contains a few TextView's arranged using a custom adapter. What I would like to do, is implement pinch-to-zoom on this ListView, so that when the user pinches, they can inc...
Bandler asked 19/11, 2011 at 19:5

3

Solved

I was able to capture most of the events triggered by the touchpad of a google glass using the SimpleOnGestureListener in a native app. With the following code you can capture these events Main...
Sabrinasabsay asked 8/8, 2013 at 9:1

© 2022 - 2024 — McMap. All rights reserved.