Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
- TextView tv = (TextView) findViewById(R.id.caption_text);
- tv.setText("foo");
- tv.postInvalidate();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement