在Android中,我所定义的ImageView的layout_width是fill_parent(可能需要在电话的全宽).
ImageView
layout_width
fill_parent
如果我放的图像ImageView大于layout_width,那么Android会缩放它,对吧?但身高呢?当Android缩放图像时,它会保持纵横比吗?
我发现,ImageView当Android缩放比图像大的图像时,顶部和底部有一些空白区域ImageView.真的吗?如果是,我该如何消除那个空白区?
android image-scaling android-imageview
android ×1
android-imageview ×1
image-scaling ×1