Top "Ontouchlistener" questions

Android interface to define a callback to be invoked when a view is touched.

Android ACTION_MOVE Threshold

I'm writing an app that involves writing on the screen using one's finger, or eventually a stylus. I have that …

android touch move ontouchlistener threshold
ImageView Drag Limitation In Android

I have an ImageView in a layout and set OnTouchListener on ImageView to drag the ImageView. It's working perfectly. My …

java android touch-event ontouchlistener
Dispatch Touch event from DialogFragment view to parent activity view

Here is how my layout looks like: I have a parent activity which has a custom view (view1 that handle …

android android-fragments touch-event ontouchlistener android-dialogfragment
End up activity on swipe right?

I have to finish Activity when user offer a right swipe anywhere in the screen. I have tried with GestureDetector …

android android-activity swipe ontouchlistener
Animatedly reduce button size on press and regain it's size on release

I want a to create a button that changes size (little bit smaller) when it's pressed, and after the button …

android android-animation ontouchlistener image-scaling
How to handle click in the child Views, and touch in the parent ViewGroups?

In my layout I have a structure like that: --RelativeLayout | --FrameLayout | --Button, EditText... I want to handle touch events in …

android ontouchlistener viewgroup
OnTouch in MapView only fires the first time

I'm trying to implement a double-tap zoom like function in my MapView. The event always fires the first time, but …

android event-handling android-mapview ontouchlistener
OnLongPress increase time

I have imageView. Im using pan,pinch for imageView. Sometimes i need to delete imageView. So, i used OnLongClickListener for …

android android-imageview ontouchlistener onlongclicklistener
How can I use onTouchListeners on each word in a TextView?

I would like to assign onTouchListeners to each word in a TextView. (Not to link to something on the internet, …

android textview ontouchlistener spannablestring
play sound while button is pressed -android

i have this code package com.tct.soundTouch; import android.app.Activity; import android.media.MediaPlayer; import android.os.Bundle; …

java android ontouchlistener