Code example for ScrollView

Methods: scrollBy

	public void scrollBy(final int x, final int y) {
		inst.runOnMainSync(new Runnable() {
			public void run() { 
				scrollView.scrollBy(x, y);
	 * Handles scrolling in response to a "home/end" shortcut press.  
	 * This method will scroll the view to the top or bottom and give the focus to the topmost/bottommost component in the new visible area.  
	 * If no component is a good candidate for focus, this scrollview reclaims the focus. 
	 * @param direction the scroll direction: android.view.View.FOCUS_UP to go the top of the view or  
	 * android.view.View.FOCUS_DOWN to go the bottom 
	public void fullScroll(final int direction) {
		inst.runOnMainSync(new Runnable() {