0

According to Romain Guy's answer here:

glsurfaceview inside a scrollview, moving but not clipping

one should not use SurfaceView inside ScrollView, or ListView, etc. Since VideoView is subclass of SurfaceView, I was wondering how this applies to CardScrollView?

Community
  • 1
  • 1
jonstaff
  • 2,672
  • 2
  • 19
  • 18
  • There is also a comment: You can now use a TextureView to achieve the desired effect. A TextureView lets you do what a SurfaceView does but will work inside scroll views (and can be animated, etc.) - this should work in the CardScrollView as well – Frame91 Jan 29 '14 at 14:34
  • Yeah, I saw that and am looking into video with TextureView as we speak. – jonstaff Jan 29 '14 at 14:40

1 Answers1

0

As stated in the comments, the proper way to do this is with a TextureView.

jonstaff
  • 2,672
  • 2
  • 19
  • 18