title: Scroll a ListView by pixels in Android
body: <p>I want to scroll the a <code>ListView</code> in Android by number of pixels. For example I want to scroll the list 10 pixels down (so that the first item on the list has its top 10 pixel rows hidden). </p>
  
  <p>I thought the obviously visible <code>scrollBy</code> or <code>scrollTo</code> methods on ListView would do the job, but they don't, instead they scroll the whole list wrongly (In fact, the <code>getScrollY</code> always return zero even though I have scrolled the list using my finger.)</p>
  
  <p>What I'm doing is I'm capturing Trackball events and I want to scroll the listview smoothly according to the motion of the trackball.</p>