【发布时间】:2013-02-15 01:43:06
【问题描述】:
我在RelativeLayout 中有一个非常简单的图像,由于某种原因,我在顶部和底部获得了无法删除的额外间距。如何清除?
这是它的样子:
代码如下:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView
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/slice11pp" />
</RelativeLayout>
【问题讨论】: