Code example for HorizontalScrollView

Methods: scrollBy

0
	            // For some reason we need to post this action, rather than call immediately. 
	            // If we try immediately, it will not scroll. 
	            new Handler().post(new Runnable() {
	                @Override 
	                public void run() { 
	                    me.scrollBy(scrollToViewPos, 0);
	                } 
	            }); 
	        } 
	    } 
 
	    /** 
	     * Callback interface to interact with the HSV. 
	     */ 
	    public interface SizeCallback { 
	        /** 
	         * Used to allow clients to measure Views before re-adding them. 
	         */ 
	        public void onGlobalLayout(); 
 
	        /**