Or take a peek at ToggleButton, or create your own CompoundButton. BTW, we are assuming that by "pressed" you mean a persistent status change (what Android refers to as "checked"), as in a CheckBox or RadioButton..
On Wed, Jun 20, 2012 at 11:34 AM, Kristopher Micinski <[email protected]> wrote: > Sure, in the onPressed event, change the image, when it's not pressed, > change it back.? > > kris > > On Wed, Jun 20, 2012 at 11:32 AM, bob <[email protected]> wrote: >> I'm trying to make a button that uses two different images - one for when it >> is pressed, and one for when it's not. >> >> >> Anyone know an easy way to do this? >> >> >> -- >> 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 > > -- > 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- 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

