Why my images are compressed?
- by Johnny
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?