Hey all,

does anybody have a clue what I do wrong?

There's an image "guy.png" size 50x50 pixels and I'd like to get this
up-scaled.
Just for reasons of testing I tried to get it fitted with aspect ratio
maintained into an ImageView of 200dip(!) height like this:

<ImageView
android:minHeight="200dip"
android:layout_width="fill_parent"
android:src="@drawable/guy"
android:layout_below="@+id/txt_title"
android:layout_height="wrap_content"
android:id="@+id/img_guy"
android:scaleType="centerInside">
</ImageView>

But that just won't work. The image does not grow larger. The maximum
size is the original image size.

Does somebody know why?

Thanks in advance,
till

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