简体   繁体   English

使用Fresco Library在Android中使用2手指手势旋转和缩放gif动画

[英]Rotate & Scale a gif animation using 2 finger gesture in Android using Fresco Library

How to Rotate & Scale a gif animation using 2 finger gesture in Andriod using Fresco Library. 如何使用壁画库在Andriod中使用2手指手势旋转和缩放gif动画。

Hi I'm trying to perform Translate, Scale and Rotate on View (FrameLayout) in android. 嗨,我正在尝试在android中对视图(FrameLayout)执行平移,缩放和旋转。

In brief, I've a Fresco's SimpleDraweeView inside FrameLayout, as Fresco is not supporting Matrix transformations, so as an alternative I put that in FrameLayout and doing Translation, Rotation and Scaling. 简而言之,由于Fresco不支持Matrix转换,因此我在FrameLayout中具有Fresco的SimpleDraweeView,因此,我将其放入FrameLayout中并进行平移,旋转和缩放。

The transformation is going out of screen... 转换即将出现...

Any reference or code samples will be helpful. 任何参考或代码示例都将有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM