Atif,

You don't need to replace the image from code when the user clicks on a button - with a state list drawable this can be done entirely with resources:

http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList

-- Kostya

26.01.2011 13:03, Atif Musaddaq пишет:
Hi, Guys

a Simple Question.

I have four buttons and I am using four images for each button. is there any way to replace the image when user Click on the button. I want to make them more interactive. Right now it seems.................... boring when user click on it, no feedback to the user.

Thanks in advance.


Atif
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to