
谢谢.
解决方法 你的问题已经有了答案:See here
引自帖子:
SurfaceVIEwprobably does not work like a regularVIEwin this
regard.Instead,do the following:
Put yourSurfaceVIEwinsIDe of a
FrameLayoutorrelativeLayoutin
your layout XML file,since both of
those allow stacking of Widgets on
the Z-axis Move your drawing logic
into a separate customVIEwclass Add an instance of the custom VIEw
class to the layout XML file as a
child of theFrameLayoutor
relativeLayout,but have it appear
after theSurfaceVIEwThis will cause your custom
VIEwclass to appear to float above the
SurfaceVIEw.
还有一个示例项目可满足您的需求
See here
总结以上是内存溢出为你收集整理的如何在android videoplayer上手动绘制圆形,矩形全部内容,希望文章能够帮你解决如何在android videoplayer上手动绘制圆形,矩形所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)