set the layout_width and layout_height and then

android:scaleType="fit_xy"

all this in xml your image will be scaled to the width and height you
mention

On Sun, May 29, 2011 at 8:09 AM, Marcos Roriz <[email protected]>wrote:

> Hi, I have a ImageView that has a drawable (128x128). How can I scale
> it to other size, ex: 64x64?
>
> --
> 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

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