HorizontalScrollView not giving the exact scrolled X in android
<p>I have an <code>HorizontalScrollView</code> in which I have placed an image which is 5000 pixel in width and is basically a scale. I have overridden the <code>onScroll()</code> method for the <code>HorizontalScrollView</code> to get the scrolled x distance.</p>

<p>When scrolling to the end of the view, the distance that I get in the distanceX parameter of <code>onScroll()</code> is not equal to the exact number of pixels by which the image is actually scrolled. Why not?</p>

<p>I am using API level 9.</p>
