Webview uses smooth scrolling. This property also has a scroll view.
- Add a text view inside the scroll.
- Make an id for scrolling and create a link in your code.
- Put EditText in this scroll (do editText for Wrap Content).
Enable smooth scrolling using the method below.
public void setSmoothScrollingEnabled(boolean smoothScrollingEnabled)
Control smooth scrolling by specifying the borders to scroll using the method below ...
public final void smoothScrollBy (int dx, int dy)
You can also simulate the scroll behavior using the following method,
public void setOverScrollMode (int mode)
You can also add Fling Action using the following method, ..
public void fling (int velocityY)
Anoop CH
source share