In one of my [activities](http://developer.android.com/reference/android/app/Activity.html), how can I make sure that a set of buttons are already activated (clicked/pressed state), when the activity starts?

If possible, please suggest in both layout as well as [Java](http://en.wikipedia.org/wiki/Java_%28programming_language%29) code.