为什么压缩我的图像?

时间:2010-05-09 09:16:07

标签: android drawable

我正在为UI使用layout xml文件。但是图像被压缩了,质量在某种程度上已经消失了。

我的代码是这样的:

<ImageView
    android:layout_width="480px"
    android:layout_height="717px"
    android:layout_x="0px"
    android:layout_y="45px"
    android:scaleType="fitXY"
    android:src="@drawable/e4" />

drawable实际上是480x717

这里有什么问题?是因为fitXY?

1 个答案:

答案 0 :(得分:0)

当然是。

你说你想要一些尺寸,但是你说你想要缩放尺寸。

所以它可以扩展它。

相关问题