如何获得我的相对布局来显示我的图像视图,如下所示:
而不是这样?:
我希望我的布局尽可能显示尽可能多的图像,并裁剪图像的外部,就像在桌面背景图像设置为“填充”在窗口中:
我的xml布局到目前为止:
android:layout_width="match_parent"
android:layout_height="match_parent" android:fitsSystemWindows="true" android:alwaysDrawnWithCache="false">
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" android:src="@drawable/background_race_light"/>
android:id="@+id/linearLayout1"
style="@style/SessionResumeBar"
android:layout_width="match_parent"