<ImageView android:id="@+id/image_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:maxWidth="42dp"
android:maxHeight="42dp"
android:scaleType="fitCenter"
android:layout_marginLeft="3dp"
android:src="@drawable/exit"
/>
本文详细解析了Android中ImageView组件的各种属性设置方法,包括宽度、高度、缩放类型等,并通过具体示例展示了如何调整图片显示效果。
1478

被折叠的 条评论
为什么被折叠?



