<ImageView
android:id="@+id/iv_pay_qrcode_open_guid_bg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitXY" />
tips:要保持图片宽度和屏幕宽度一致,需要使用宽高比小于屏幕宽高比的图片资源文件。