Code example for HorizontalScrollView

Methods: scrollBy

0
        //scroll to the body real content to block the menu 
        hsv.post(new Runnable() {
 
            @Override 
            public void run() { 
                hsv.scrollBy(width-100, 0);             
            } 
        }); 
 
        setContentView(mainFrame);         
    } 
}