Difference between MotionEvent.getRawX and MotionEvent.getX

Viewed 36803

I would like to know The difference between MotionEvent.getRawX and MotionEvent.getX in android as one is numeric and the other is float?Whats the need to have both of these types?

1 Answers

Picture for easy understanding

=>

rawX = motionEvent.getX() + touchableButton.getX() + layout3.getX() + layout2.getX();
Related