【发布时间】:2016-02-02 10:35:48
【问题描述】:
我正在使用https://github.com/chrisbanes/PhotoView 并尝试使用setDisplayMatrix 方法对其进行顶部裁剪。
基于问题:https://github.com/chrisbanes/PhotoView/issues/185
它应该可以工作,但我没有让它工作。我的 ImageView 在 xml 中定义了 android:scaleType="center"。
什么时候应该调用setDisplayMatrix 以使其正常工作?
谢谢。
【问题讨论】:
标签: android