2/21/2014 2:44:39 AM

The following will programmatically set the text value of a TextView.

String message = "Hello World"; TextView txtMessage = (TextView) findViewById(R.id.layout_txtMessage); txtMessage .setText(message);