我有一个 320x480 的图像,我想适合整个屏幕。这是 main.xml 代码
<ImageView xmlns:android="http://schemas.android.com/apk/res/android">
android:id='@+id/splash_medium'
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/wallpaper320x480"
/>
屏幕显示图像,但左侧和右侧有相当大的填充,顶部和底部有一点点。我尝试将 android:padding 设置为 0dip 没有结果。
链接到图片,我还不能发布图片:截图
任何帮助,将不胜感激。