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
6
votes
1 answer

Android: how to change menu item at page scrolling with ViewPager?

The last version of WhatsApp does what I'm talking about. When you scroll between tabs the toolbar shows different menu options. I can implement ViewPager with adapter and fragments but not this. How could it be done? I really don't know what kind…
user3290180
  • 4,260
  • 9
  • 42
  • 77
6
votes
2 answers

How to detect Left swipe and Right swipe for Stacklayout in Xamarin.Forms?

I have been trying to detect left swipe and right swipe for stacklayout. Things in which I need help are, Creating a stacklayout renderer to add swipe Gesture. How to detect user has swiped left or right. Please provide a solution which works on…
Femil Shajin
  • 1,768
  • 6
  • 24
  • 38
6
votes
1 answer

Android implementing SwipeListView with Pull to Refresh

I am trying to implement SwipeListView with Pull-to-Refresh on a ListView. it integrated successfully but it adds one item to the list after it. list view not refreshing. and no item added to the list. I have implemented the SwipeListView from here…
6
votes
2 answers

How to implement a horizontal scroll / swipe between Fragments?

I would like to achieve a navigation in my app like Pinterest or Trello, that is, kind of three tabs to navigation + horizontal scrolling. I have made a custom tabbar for this (since I couldn't guess how to change tabs width in my actionbar with…
DroidBeginner
  • 135
  • 1
  • 3
  • 11
6
votes
1 answer

Xcode: How do I change UIPageControl value with swipe gesture?

I have a quick question I was hoping you guys could help me answer. Right now I have a UIPageControl in a storyboard which changes an image depending on what dot you are on, however, as of now you have to press on the dot to change through the…
5
votes
4 answers

Getting row position of listview on swipe

I know this type of question is asked before here. I have tried both gesture detector : wholelistview.setOnTouchListener(new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { if…
Hanry
  • 5,481
  • 2
  • 40
  • 53
5
votes
1 answer

Drag to change image slide with jquery like in iphone

Am using supersized jquery plugin for my site. It comes with button for next and previous slides. I want to implement drag to change feature in it. If some one click and move mouse to right it should act as the next slide button. But how can i do it…
esafwan
  • 17,311
  • 33
  • 107
  • 166
5
votes
2 answers

How to implement the two-finger swipe gesture in Cocoa to go back and forward?

Several applications like Safari and the Finder go back and forward when you swipe with two fingers on your Magic Mouse (or with three fingers on your Magic Trackpad). How would I implement this in my Cocoa application? What classes are available?
user142019
5
votes
1 answer

Swiperight and swipeleft gestures for slideshow from w3school

I have a problem with jquery swiperight and swipeleft gestures. I have two slideshows, first one is Bootstrap Carousel and second one is inspiration from w3school. (codepen) I found good solution for Bootstrap somewhere on this page. Here is the…
liop7410
  • 135
  • 1
  • 6
5
votes
0 answers

Raspberry Pi Touchscreen Chromium Gestures

I have a Raspberry Pi 3, running Raspian OS and connected to the official 7" Raspberry Pi touchscreen. The Pi is used to display a information dashboard, built using the Dashing framework. The dashboard is displayed in Chromium and made full screen…
Mark
  • 1,277
  • 3
  • 13
  • 27
5
votes
2 answers

Android - Show/Hide TextView using Swipe Left to Right

I'm trying to show/hide TextView. So if the user swipe left-to-right, it will show TextView from behind the "orange gradient view". And after the text shown, after 5 seconds, it will hiding it again like the picture below: But i don't have any idea…
wdyz
  • 185
  • 4
  • 19
5
votes
4 answers

Disable swipe gesture for SlidingPaneLayout

I have a sliding pane layout which contains a ListView. I have a button to open the sliding pane. So I want to disable the swipe gesture for this sliding pane which is creating a problem when I am trying to access any other view in the same layout.…
5
votes
1 answer

Swift :Segmented control with a swipe gesture between views

I'm using a UIContainer to switch between views using segmented control + swipe gesture. My storyboard is like this one. Override func viewDidLoad() { super.viewDidLoad() var swipeRight = UISwipeGestureRecognizer(target: self, action:…
user3662992
  • 688
  • 1
  • 6
  • 16
5
votes
4 answers

Swipe to delete cell does not cancel UIButton action

My UITableView has the swipe to delete feature enabled. Each cell has a UIButton on it that performs an action (in this case, perform a segue). I'd expect that if I swipe the cell by touching the button, the button's action would be…
Guilherme
  • 7,839
  • 9
  • 56
  • 99
5
votes
3 answers

how to add a swipe view to these existing coding

I need to add a swipe view in tab activity.In these below xml coding I just created a six tabs namely home,blog,audio,video,more and gallery. The Tabs are created perfectly.But I cannot able to know how to add a swipe for that six tabs.I need to…
Stephen
  • 9,899
  • 16
  • 90
  • 137