You could just hide image A and show image B by using View.setVisibility()

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Mon, Nov 9, 2009 at 11:34 PM, ElPollo Diablo <[email protected]> wrote:

> Hello,
>
>    I am working on learning Java and android, but I seem to have hit
> a wall. In the app that I am building, I have two images (Image A and
> Image B) Image A will be on the screen, and I want it to turn into
> image B when pressed. I know how to get the image on the screen, and I
> know how to set the listener for when it is pressed, but I am stuck on
> how to change the image A into Image B.
>
>   If anyone can point me in the right direction to a tutorial, or has
> an example of some code, that would be much appreciated.
>
>   Thank you,
>      -Ryan
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-beginners%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to