Well, then it's very simple
Create the static XML layout that you desire, put IDs to every widget/component.
Create a new Activity.
In onCreate associate the IDs to components in the XML.
At the end of onCreate, set your setContentView(R.layout.yourxmllayout
Now, inside the onCreate, this is what I'm not very sure: you have to override the onClick of every item, or the onClick for the whole activity. You can try.
And another solution, could be this one:
This method should be simpler, but maybe it's too dynamic for your tastes