private void adjustForTopFadingEdge(View childInSelectedRow,int topSelectionPixel,int bottomSelectionPixel){
  if (childInSelectedRow.getTop() < topSelectionPixel) {
    int spaceAbove=topSelectionPixel - childInSelectedRow.getTop();
    int spaceBelow=bottomSelectionPixel - childInSelectedRow.getBottom();
    int offset=Math.min(spaceAbove,spaceBelow);
    offsetChildrenTopAndBottom(offset);
  }
}

private void adjustForTopFadingEdge ( View childInSelectedRow , int topSelectionPixel , int bottomSelectionPixel ) { if ( childInSelectedRow . getTop ( ) < topSelectionPixel ) { int spaceAbove = topSelectionPixel - childInSelectedRow . getTop ( ) ; int spaceBelow = bottomSelectionPixel - childInSelectedRow . getBottom ( ) ; int offset = Math . min ( spaceAbove , spaceBelow ) ; offsetChildrenTopAndBottom ( offset ) ; } }
move all views upwards so the selected row does not interesect the top fading edge ( if necessary ) .
