I'm using a RelativeLayout which contains a number of ImageViews positioned 
in XML using dp measurements. Some of the ImageViews are deliberately 
offscreen (outside the bounds of the RelativeLayout which is set to fill 
parent horizontally and vertically).

I noticed that ImageViews which clipped the edge of the RelativeLayout's 
bounds were scaling to fit inside the layout. I didn't want this, and got 
the desired behaviour by changing the layout's ClipChildren to "false" and 
setting the ImageView's scaling to "center".

But when I use the ImageViews to display frame-by-frame animations (in 
background property of ImageView) instead of static images (in src property 
of ImageView) the animations are scaling to fit in the Layout if they lie 
across the bounds of it.

Does anyone know how I can stop this from happening?

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

Reply via email to