Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持WebView中的图片吗 #29

Closed
zhangguobing opened this issue Aug 9, 2018 · 2 comments
Closed

支持WebView中的图片吗 #29

zhangguobing opened this issue Aug 9, 2018 · 2 comments

Comments

@zhangguobing
Copy link

你好,请问WebView中的图片能否实现类似的效果吗

@ljackChen001
Copy link

同问

@iielse
Copy link
Owner

iielse commented Aug 16, 2018

WebView中拿不到Drawable对象吧。
其实这个库的启动动画说白了需要 一个Drawable对象且知道它在屏幕上的坐标,大小。

只有url的话可以这样试试,牺牲掉过渡动画的效果。
临时方案:
随便找一个ImageView传递进来,这个ImageView持有一个透明的Drawable对象。

@iielse iielse closed this as completed in 9d5b548 Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants