0
我正在使用https://github.com/chrisbanes/PhotoView並嘗試使用setDisplayMatrix
方法頂部修剪它。Android PhotoView setDisplayMatrix
基於問題:https://github.com/chrisbanes/PhotoView/issues/185
它應該工作,但我沒有得到它的工作。我的ImageView
在xml中定義了android:scaleType="center"
。
什麼時候應該調用setDisplayMatrix
以使其正確工作?
謝謝。