I wanted to implement pinch zooming on a ScrollView and I found this class on this post:
How to make zoomable scrollview?
I implemented it and pinching zooms in to the content inside the ScrollView ...

I have seen many answers here to draw lines or rectangles from main activity. But none helped me... part of my code is here.. but this doesnt produce anything.
CODE:
public class WorkScreenActivity ...

I have a simple game which uses android gesture detector. The problem is that when I perform such scroll in some specific direction like from up to down or from left to right, my action is not always ...

I've been looking for this for days. I wanted to use pinch, zoom, etc on a image. I found a tutorial that seems to work for everyone here: https://github.com/jasonpolites/gesture-imageview . But when ...

What is the difference between onScroll and fling in the GestureDetector?
When i print out the events they are showing the exect same things. At least the last onScroll and the fling.
The only true ...

I have an imageview that I set OnLongClickListener on it. At the same time, I am listening to the Activity generic OnTouchEvent. I was hoping to detect long click on a view and them start moving it ...

I am developing an application in which i am having a custom list view with custom adapter. The adapter contains image view, text view and other view. I want to swipe the list item to delete it from ...

I have 2 viewpagers in an activity. I want to move them together. I mean they will get and process same gestures. One of them full page other one is on the right corner like preview. Thats why I need ...

I am trying to create a Gesture Detector that will fire when the user swipes left or right. I am using a ViewPager, and have disabled the functionality to page between views by swiping left and right ...

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 take ...

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 like ...

I recently implemented the Dragging and Scaling code that was offered on the Android Developer website FOUND HERE
The problem I am running into is in regards to the ability to move the view once it ...

I'm a new android developer. I want to use a service to handle touch events, here is code, only doTouch() work, I mean show "touched" only.If I want to show "DOWN","POINTER_DOWN","BEGIN", how do I do ...

I'm trying to figure out how this is done, when you have a split view vertically and you can drag (pull) the bottom half, and the top half is resized (zoomed in), I have added a video to illustrate ...

I have implemented a grid view in my application. for refreshing the grid i have given touch event to it. and in on click I do some stuff with that grid item. below is the code for gesture detector -
...

I have a ViewPager which displays a bunch of fragments. These fragments have a HorizontalScrollView as root view.
I would like the user to be able to swipe the HorizontalScrollView with the regular ...

I am developing an app in which I need to implement object movement following by users finger touch/drag. My object is at the bottom of the screen and it can move horizontal only. I have no idea about ...

I am having troubles organizing my Java classes so that the scope of everything I need to access in any given object is available.
For example, I have a MainActivity that has a ListView that I want ...

I am trying to replace image in onFling Mehtod for swipe in gesture detector in android .It is not changing can anybody tell How to replace image in onfling method in gesture detector in android
Below ...

I'm trying to create a custom AbsListView (overriding the same stuff on ListView, GridView and HeaderGridView) that will relocate all its drawing and touching events based on an external factor (other ...

I'm looking for tips or a lib that can help me with this challenge: I need to build a widget that is similar to a Map View. I mean, I have a huge image that will be used as background and a list of ...