Why are my images compressed?
Posted
by Johnny
on Stack Overflow
See other posts from Stack Overflow
or by Johnny
Published on 2010-05-09T09:16:07Z
Indexed on
2010/05/09
14:08 UTC
Read the original article
Hit count: 206
android
I'm using layout xml file for the UI. But the images are compressed and the qualities have lost in some level.
My code is like this:
<ImageView
android:layout_width="480px"
android:layout_height="717px"
android:layout_x="0px"
android:layout_y="45px"
android:scaleType="fitXY"
android:src="@drawable/e4" />
The drawable is actually 480x717.
What's the problem here? Is it due to the fitXY?
© Stack Overflow or respective owner