public void buttonOnClick(View v) { // do something when the button is clicked Button button=(Button) v;
((Button) v).setText("cliked");