Android ImageView高设置为wrap_content时高度没有自适应

<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:layout_margin="10dp"
/>

 

设置android:adjustViewBounds="true" 

posted @ 2015-08-04 17:24  azdjdgh  阅读(1270)  评论(2)    收藏  举报