Hello, What I'm trying to do:
I would like to have multiple ImageViews moving across the screen in random directions, with each one shrinking as it reaches its destination. If an ImageView is clicked, it changes color. How it is currently implemented: I create a new ImageView then add it to my relative layout (the only layout for the app). Then I (programmatically) create an AnimationSet for my animations and pass that to the startAnimation() method of my ImageView. I have an OnClickListener assigned to each ImageView. What happens: The animations work out as they should, but the ImageView also appears in the top left corner of the screen (unmoving). The image in the top left corner of the screen is what responds to clicks (and not the moving image). Solution? This is my first attempt at Android tween animations, so forgive me if this is something really trivial. I feel that I shouldn't be adding my ImageView to the layout before starting the animation, but I can not get the ImageView to appear on the screen any other way. Does anyone know what might be the problem? -- 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

