---
title: "imageView 的 android:maxHeight,maxWidth属性"
author: "Darar"
date: "2013-03-29T10:17:45Z"
tags: []
categories: ["移动开发"]
slug: "imageview-android-maxheight-maxwidth"
draft: false
lastmod: "2013-03-29T10:17:45Z"
id: 1838485
url: "https://darar.iteye.com/blog/1838485"
---

大家使用android:maxHeight,maxWidth属性时　会发现不生效。其他看api可以知道需要加上 android:adjustViewBounds="true"　上述属性才生效