ImageView的src有间距
用某张图片的时候,
我们想让他宽度match,
然后高度让他自动调整到那个比例
这个时候有可能
这个图片的上下会有间隙
具体原因不是很清楚
这时候
加上属性android:adjustViewBounds="true"
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:src="@drawable/img_mine_bg" />