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 <marcosroriz...@gmail.com>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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to