Code example for ScrollView

Methods: fullScroll, computeScroll

0
			s.render(container);
		} 
		final ScrollView sv = (ScrollView) findViewById(R.id.thread);
		sv.post(new Runnable() {
			public void run() { 
				sv.computeScroll();
				sv.fullScroll(ScrollView.FOCUS_DOWN);
			} 
		}); 
	} 
 
	@Override 
	protected void messageSent() { 
		SMS sms = new SMS("Me:", m_message.getText().toString(), "(Just now)");
		m_thread.addMessage(sms);
		renderMessages(); 
		m_message.setText(""); 
		m_message.setEnabled(true); 
		m_send.setText("Send"); 
		m_send.setEnabled(true); 
		setResult(RESULT_OK);