setVerticalMargins method

void setVerticalMargins(
  1. int top,
  2. int bottom
)

Sets the vertical scrolling margin to top and bottom. Both values must be between 0 and viewHeight - 1.

Implementation

void setVerticalMargins(int top, int bottom) {
  _active.setMargins(top, bottom);
}