如何将视频视图转换为圆形? [英] How to transform a videoview into a circular shape?

查看:604
本文介绍了如何将视频视图转换为圆形?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在videoview中全屏播放视频,过一段时间后我想将crop转换为circular view吗?

I want to play a video in full screen in a videoview and after some time I want to crop to a circular view?

我该如何实现?

推荐答案

另一种方法是将这种类型的图像叠加层放置在您的videoview Relative或FrameLayout上(Circuler是透明的,因此videoview仅在圆圈中可见)

Another way is put this type of image overlay on your videoview Relative or FrameLayout (Circuler is transprent so videoview will visible only in circle)

默认情况下,使可见性变为该imageView并在需要时在运行时更改VISIBLE.

By default make visibility GONE this imageView and Change VISIBLE it runtime when you want.

可以帮助您

这篇关于如何将视频视图转换为圆形?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆