hii
just implement your class activity from onclickListener and implement its
method onclick and in that method you can use switch to get which button is
pressed like
switch (v.getId()) {
case R.id.im1:
{
button1.setImageResource(R.drawable.p1o);
break
hi friends,
I have 3 buttons on the screen and i have to perform different task
according to the button clicked ,how can i check which button is
clicked
Thanks in Advance
ganesh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
2 matches
Mail list logo