Monday, April 11, 2011

[android-developers] ImageView

Hi,

I have to do things with an ImageView after it
has got a size. For example set an animation which
depends on the size of the ImageView.

What is the official way to do size-dependent things?

I tried to create a new class from ImageView and
overwrite onMeasure. It worked on my phone but didn't
on the emulator?

Is there a good way to do it without creating a new class?

Thanks,
T.

--
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