1、出现白边情况代码
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:src="@mipmap/xxx"/>
2、解决代码
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:src="@mipmap/xxx"/>