I want to scroll the a ListView 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
ListView
if you want to move by pixels then u can use this
public void scrollBy(ListView l, int px){ l.setSelectionFromTop(l.getFirstVisiblePosition(),l.getChildAt(0).getTop() - px); }
this works for even ones with massive headers