3
In xml, in the View statement, add android:overScrollMode="never"
.
The same can be done in java using:
myView.setOverScrollMode(View.OVER_SCROLL_NEVER);
- OVER_SCROLL_ALWAYS
standard mode, the effect is always visible. - OVER_SCROL_IF_CONTENT_SCROLS
the effect is only visible when the view content is larger than the view’s dimensions. - OVER_SCROLL_NEVER
the effect is never visible.
Note: THE scroll mode is only applicable to views capable of displaying the content.