Android——ImageViewBorder類中ScaleType屬性

使用ImageView時經常會用到scaleType屬性,如: scaleType屬性的各個值總是記不住之間的區別。今天找點時間總結了一下: scaleType的屬性值有:matrix fitXY fitStart fitCenter fitEnd center centerCrop centerInside 它們之間的區別如下: matrix 用矩陣來繪製(從左上角起始的矩陣區域) fitXY
相關文章
相關標籤/搜索