oooops :D
just saw that there are some getX and getY methods which return the
position INSIDE the view...
sorry guys :)

greets

On Jan 3, 8:21 pm, crem <bernd.warm...@gmail.com> wrote:
> Hello,
> Is it possible to get the coordinates of a ontouch Event relative to
> the viewsize?
> for example if the user clicks on the upper left corner of a ImageView
> it should return (0,0) and so on...
> When i use the getRawX(), getRawY() methods of the MotionEvent i only
> geht absolute screen coordinates.....
>
> greets..

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to