Questions tagged [swipe-gesture]

Swipe is a gesture that involves touching a touchscreen or trackpad, translating the finger in one direction across the screen or pad, and removing the finger. It is commonly used as a discrete scrolling gesture (for example, go to the next picture).

Swipe is a gesture that involves touching a touchscreen or trackpad, translating the finger in one direction across the screen or pad, and removing the finger. It is commonly used as a discrete scrolling gesture (for example, go to the next picture).

526 questions
0
votes
1 answer

Android sliding side menu and horizontal listview

In my app I use two external libraries (Sliding menu and Horizontal Listview). The first one implements a sliding menu effect like the Facebook app and it works fine, I can trigger the movement by swiping or clicking a button. The second one…
phcaze
  • 1,707
  • 5
  • 27
  • 58
0
votes
1 answer

Nullpointer exception on swipe

I get a NullPointerException on doing a swipe. What is wrong and how to correct? The exception is triggered in method onTouchEvent by statement return gestureDetector.onTouchEvent(event); This activity (List8) is called as a TabActivity from class…
user1837293
  • 1,466
  • 3
  • 16
  • 30
0
votes
1 answer

Overflow-x bug? Full browser width bars technique

I'm trying this technique on a page. Used it before and it seemed to work fine, but now in Chrome and Firefox, no horizontal scroll bar is displayed (which is good) but horizontal scrolling still occurs on two-finger swiping (which is bad). I found…
0
votes
1 answer

iOS - Double Tap Gesture does not work on top of a UIWebView

I have a viewController that has several items added programatically. A UILabel and a UIWebView including a scroll view. Now I have added a swipe gesture onto the viewController using storyboard and when run all seems ok. The issue comes when I try…
Simon Davies
  • 3,668
  • 9
  • 41
  • 69
0
votes
1 answer

Detect if listview is out of bounds and passing new item in it

Can somebody advise how can I detect if the listview swipes out of bounds? I have only one item in the listview. And I need to detect when user swipes it up or down and listview accordingly goes up or down and show empty space above or below it. And…
Rikki Tikki Tavi
  • 3,089
  • 5
  • 43
  • 81
0
votes
1 answer

Swipe gesture starts multiple instances of same activity

I am trying to implement a tab based view wherein the user can switch between the tabs using swipe gesture. However, multiple instances of the same activity open on swipe. How can I prevent this? Thanks public boolean onTouch(View v, MotionEvent…
0
votes
1 answer

Horizontal scroll move step by step

I'm developing an android app that User select an emoticon. I'd like a nice swipe gesture selection with horizontal scroll. can i create a horizontal scroll to select emotion. this is an…
user1062198
  • 31
  • 1
  • 3
0
votes
1 answer

swipe gestures and Wordpress templates

I'm looking to do a mobile web app in Wordpress. I need the template to have a thin (~3/4 inch) horizontal rectangular section at the very top that can be swiped to the left/right to serve as the navigation. Basically, every time you swipe this…
user_2013
  • 11
  • 6
0
votes
1 answer

Ios5 swipe gesture

I am currently writting an ios5 app and call two functions (back) and (next) with buttons. I would like to call them with swipe gestures instead. Would that be possible and how? Thanks
0
votes
2 answers

Why is my SimpleOnGestureListener not functioning?

I'm using my own GestureDetector class to detect a left|right onFling event. Everything I see looks good in my code but nothing happens...? I need the added functionality beyond my toggle button that opens|closes a navigation view in my…
user742030
0
votes
1 answer

Sliding a div / modifying a css property when using touch on an ipad

What im looking to achieve is to modify the margin-left css property of a div when someone slides their finger across the div on an ipad. To explain what i'm trying to do, I have setup this…
Gavin Bruce
  • 1,799
  • 16
  • 28
0
votes
1 answer

How can I handle java.lang.OutOfMemoryError bitmap size exceeds VM budget pageradapter?

I implemented in my app an activity that uses a ViewPager, with a PagerAdapter to show 4 images. You can see only one image at time and to show the next you have to swipe it. The size of the images is not very huge and I don't know why but it…
michoprogrammer
  • 1,159
  • 2
  • 18
  • 45
-1
votes
0 answers

How to set swipe left or right to select list item in listview in java

I would like to implement a swipe gesture like in MT Manager: I am working with a ListView in Java. I tried it but failed. As I only got usage through Recyclerview only.
Krushna
  • 1
  • 2
-1
votes
1 answer

How to go about a view which can be swiped left/right AND up/down?

I'm learning SwiftUI for iOS and I'm working with XCode 13. How the "heck" to go about swiping my viewport left & right to change different views within the same 'container' or 'collection', but also to allow for swiping up & down, in order to…
Marlink
  • 1
  • 1
-1
votes
1 answer

Flutter swipe to sides like in chrome

In my book-like Flutter app, there is a requirement to swipe in horizontal direction in order to navigate to previous and next page. I looked for a package which does something like that in pub.dev and didn't find. I'd like to know if there is…
Dorad
  • 3,413
  • 2
  • 44
  • 71