Image Android-Layout无法正常工作
我想根据屏幕大小加载布局 我的配置 安卓2.2 小屏幕QVGA(240x320),低密度(120) 图像分辨率为240x320 res/layout small/myimg.xmlImage Android-Layout无法正常工作,image,android-layout,Image,Android Layout,我想根据屏幕大小加载布局 我的配置 安卓2.2 小屏幕QVGA(240x320),低密度(120) 图像分辨率为240x320 res/layout small/myimg.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" a
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView
android:src="@drawable/simage"
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</ImageView>
</LinearLayout>
但当我运行应用程序时,屏幕并没有完全被图像覆盖,屏幕的左右两侧都有一个小的空白
我也找到了下面的链接,但问题仍然存在
谁能告诉我哪里出了问题
android:scaleType=“fitXY”
与ImageView
添加:
ldpi
绗缝机,而不是small