I want to create a video player which plays Youtube video. I used YouTubePlayerView
. It play the Youtube video. but i want the floating video player same as Youtube has.
Try to make use of the DraggablePanel library in Github. Draggable Panel is an Android library created to build a draggable user interface similar to the new YouTube draggable video component based on Fragments or Views. Check this SO thread for additional insight.