super.onCreate(icicle);
// See assets/res/any/layout/styled_text.xml for this
// view layout definition.
setContentView(R.layout.styled_text);
// Programmatically retrieve a string resource with style
// information and apply it to the second text view. Note the
// use of CharSequence instead of String so we don't lose
// the style info.
CharSequence str = getText(R.string.styled_text);
TextView tv = (TextView)findViewById(R.id.text);
tv.setText(str);