Depende en que quieres hacer.  Si quieres definar la maxima dimension usa:
setMaxWidth<http://developer.android.com/reference/android/widget/ImageView.html#setMaxWidth(int)>
<http://developer.android.com/reference/android/widget/ImageView.html#setMaxWidth(int)>
setMaxHeight<http://developer.android.com/reference/android/widget/ImageView.html#setMaxHeight(int)>

<http://developer.android.com/reference/android/widget/ImageView.html#setMaxHeight(int)>Si
quieres que se ajuste usa:
setScaleType<http://developer.android.com/reference/android/widget/ImageView.html#setScaleType(android.widget.ImageView.ScaleType)>

<http://developer.android.com/reference/android/widget/ImageView.html#setScaleType(android.widget.ImageView.ScaleType)>Oh
si no, manipula el Drawable objeto directamente usando:
getDrawable<http://developer.android.com/reference/android/widget/ImageView.html#getDrawable()>
y
manipulandolo ahi.
Tambien puedes manipular el View using setWidth() y setHeight()

Tienes que decir si estas usando Drawable, Bitmap, o ImageView

2011/6/22 TreKing <treking...@gmail.com>

> En anglais, s'il vous plaît.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> 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
>



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/,
http://www.youtube.com/user/revoltingx

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