How to get touch points from center of layout in android

Monday, May 5, 2014

I was working on the onTouchListener which gives me x and y value of touch point it is giving left corner point i,e left corner point is being (0,0) but i want center of layout to be (0,0) how to get the touch point the center of layout?