Code example for ScrollingMovementMethod

0
		_textView = new HububEditText(); 
		_textView.setSelectAllOnFocus (false); 
		_textView.setScrollContainer(true); 
		_textView.setVerticalScrollBarEnabled(true); 
		_textView.setMaxLines(5); 
		_textView.setMovementMethod(new ScrollingMovementMethod()); 
		//_textView.setVisibleLines(20); 
		addVertWidget(_label); 
		addVertWidget(_textView); 
		_textView.setTextSize(12); 
	} 
 
	public void setName(String name){ 
		_label.setText(name); 
	} 
 
	public void setSize(int width, int height){ 
		_textView.setWidth(width); 
		_label.measure(Hubub._DisplayMetrics.widthPixels, Hubub._DisplayMetrics.heightPixels); 
		_textView.setHeight(height - _label.getMeasuredHeight()); 
	}