4

I am trying to implement drag layout like youtube, for playing video in my applicaiton. I took the help from DraggablePanel library in Github. It works fine. My application is for above 4.0 .

When i try to drag the video it do not scale properly. Video is getting cut, when dragged/minimized to bottom.

Can you please help me how to resize the video when dragged ?

Divya
  • 555
  • 1
  • 4
  • 15

1 Answers1

0

Solved it myself. User TextureView instead of SurfaceView or VideoView. SurfaceView does not support animations. Check this link if you want to know how to use textureView for playing video : Playing video on TextureView

Community
  • 1
  • 1
sanjeev
  • 1,343
  • 3
  • 16
  • 28