Android ImageView 總結

一.介紹 ImageView用來顯示任意圖像圖片,能夠本身定義顯示尺寸,顯示顏色等等. 二.XML屬性 android:adjustViewBounds 是否保持寬高比。須要與maxWidth、MaxHeight一塊兒使用,單獨使用沒有效果。 android:cropToPadding 是否截取指定區域用空白代替。單獨設置無效果,須要與scrollY一塊兒使用  android:maxHeight
相關文章
相關標籤/搜索