Questions tagged [android-gesture]

A package in the Android SDK that provides classes to create, recognize, load and save gestures. Gestures are patterns on the touch screen that map to specific functions.

Gesture API

271 questions
0
votes
1 answer

How do i make a gesture listener to be inactive during the first second after creating the class?

I´m having the following problem in my game: let´s say I have 5 screens on the lvl 3. Each screen has a class for itself. so i have 5 classes named lvl 3_1_0, 3_2_0 .... .... 3_5_0. I also have a gesture listener so when you swipe right it will go…
0
votes
1 answer

Addressing the main layout in Android

I have an issue with the following passage. @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); GestureOverlayView gestureOverlayView = new GestureOverlayView(this); View inflate =…
wswld
  • 1,218
  • 15
  • 32
0
votes
1 answer

How could i drag it by using Gesture?

By using Gestures, can i able to drag like this image ? I mean, have to drag as a tick mark . So for this onClickListener must be used. After it performs,then it should be able to open another screen finally in a display part. When i use my hand, i…
Achiever
  • 1,626
  • 10
  • 30
  • 54
0
votes
1 answer

ImageView - implementing gestures (pinch zoom, double tap) compatible with ViewPager (just like Android Gallery)

I was looking for an effective way to implement gestures for ImageView with ViewPager. I tried some examples, but they are not working well (e.g. pinch zoom actually is not zooming where I want it to). In my app I need pinch zooming, double tap zoom…
0
votes
1 answer

Dissapear And Appear Admob AdView On User Activity and InActivity Android

I have a particular scenario where I want to hide the Admob AdView when the user has tapped the screen and show again after the 1 seconds of user inactivity on the application. I have am successfully hiding the AdView and showing it again after user…
muneikh
  • 2,067
  • 5
  • 25
  • 59
0
votes
3 answers

Get Android Pixel Values

I have searched alot of this issue on google but unable to get any help.My question is how to get pixel position of android screen where the user has tapped?
0
votes
1 answer

android tablerow edit gestures

enter code hereIn my android application , there is a populated tableview with favorite products. There is a delete functionality to delete products from the list. How can i show this to user that he can delete products? like in ios there is a…
Raheel Sadiq
  • 9,847
  • 6
  • 42
  • 54
0
votes
1 answer

How to obtain the swipable imageViews in a single activity?

I want to make an activity where i want to use multiple images and want to swipe it in the same activity. can anyone help me with the code here because i m new to android and i tried reading the gesture class but couldnt figure out the proper…
-1
votes
1 answer

What methods do i use to implement Android Gestures like "Tap , Double Tap, Hold, Drag , Flick, Swipe " in Touch mode

I was implementing Different Gestures in Android. I want to know what methods do I use for implementing different gestures like "Tap,Double Tap,Hold,Drag,Flick,Swipe" etc
-1
votes
3 answers

Resize ImageView with only one finger movement instead of two

I'm trying to change an ImageView's height with only one finger movement (upside or downside). The code below changes height with two fingers (like pinching or reverse). How can I modify this code to do what I want? Thanks. public class MainActivity…
jason
  • 6,962
  • 36
  • 117
  • 198
-1
votes
3 answers

How to implement Swipe events to animate(e.g. change alpha) Views?

In my app I want that when the user Swipes from Bottom to Top the alpha of ImageView should decrease till a certain point, also if the user Swipes from Top to Bottom the alpha should increase till 1. I tried many things still no success Code …
Sonali Pawar
  • 420
  • 3
  • 18
-1
votes
1 answer

how can i do when i swipe my finger all clickable under my finger became clicked in android?

I have six Image View in horizontal when I swipe my finger on them no item press? I want to these all buttons pressed when I swipe my finger on them and perform their click functionality like piano and guitar. When we swipe finger on screen all…
-1
votes
1 answer

Set priority for View Events

I have a problem with OnGestureListener and OnTouchListener. When I run a service with WindowManager has onTouchListener on a Actvitiy that has onGestureListener. I cannot get MotionEvents before the Gestures. How can I set priority for…
reigeki
  • 391
  • 1
  • 5
  • 19
-2
votes
1 answer

Gesture Overlay on SplashScreen

I'm trying to use a gesture overlay on a activity that is used as a splash screen. The problem is when I : gOverlay = (GestureOverlayView) this.findViewById(R.id.gOverlay); , gOverlay is null. This is my XML:
Vlad Marinescu
  • 75
  • 1
  • 1
  • 8
-2
votes
1 answer

Android painting with finger gesture

I am able to draw and paint on the canvas using my finger gesture. It is really working well. I have implemented this code and it is working like a charm and I have even modified to inject clear button to clear all also to clear last drawn line. and…
Allay Khalil
  • 674
  • 3
  • 11
  • 31
1 2 3
18
19