You can get a handle to a screen element by calling Activity.findViewById. You can use this handle to set or retrieve any values exposed by the object.
TextView msgTextView = (TextView)findViewById(R.id.msg); msgTextView.setText(R.string.push_me);
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:56 |