Wednesday, March 2, 2011

Re: [android-developers] Create ImageView in Java or Xml?

I prefer to do as much as possible in XML and certainly don't see why you can't do this in XML.  Also, depending on how you are planning on implementing this you can set up the animation in XML as well.

On Tue, Mar 1, 2011 at 9:45 AM, OhMisterRabbit <taylor.uk.rose@gmail.com> wrote:
I am currently trying to get an image to "fall" from the "sky" (top of
the mobile device) out to the bottom. In order for me to be able to
manipulate this image, do I have to create it in Java, or should I
make the ImageView in xml? There will eventually be "many" of the same
image falling, so should I create a class of some sort?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate