1. 程式人生 > >ImageView中android:adjustViewBounds屬性

ImageView中android:adjustViewBounds屬性

Set this to true if you want the ImageView to adjust its bounds to preserve the aspect ratio of its drawable.

Related XML Attributes

Parameters

adjustViewBounds

Whether to adjust the bounds of this view to presrve the original aspect ratio of the drawable