private void adjustForRightFadingEdge(View childInSelectedRow,int leftSelectionPixel,int rightSelectionPixel){
  if (childInSelectedRow.getRight() > rightSelectionPixel) {
    int spaceToLeft=childInSelectedRow.getLeft() - leftSelectionPixel;
    int spaceToRight=childInSelectedRow.getRight() - rightSelectionPixel;
    int offset=Math.min(spaceToLeft,spaceToRight);
    offsetChildrenLeftAndRight(-offset);
  }
}

private void adjustForRightFadingEdge ( View childInSelectedRow , int leftSelectionPixel , int rightSelectionPixel ) { if ( childInSelectedRow . getRight ( ) > rightSelectionPixel ) { int spaceToLeft = childInSelectedRow . getLeft ( ) - leftSelectionPixel ; int spaceToRight = childInSelectedRow . getRight ( ) - rightSelectionPixel ; int offset = Math . min ( spaceToLeft , spaceToRight ) ; offsetChildrenLeftAndRight ( - offset ) ; } }
move all views left so the selected row does not interesect the right fading edge ( if necessary ) .
