title: How to create videoview like youtube "small screen and full screen play in android "
body: <p>I want to develop activity or fragment like Youtube.</p>
  
  <p>"When user click on video from list it start playing in small video view like height =200dp and width = 300dp(as example)  and i want to display full screen button on MediaPlayer controller by using User can play same video in full screen with effecting video play.</p>
  
  <p>Also i want to display related videoList and comments on current playing video So should i use fragments?? IF yes any sample example.</p>
  
  <p>I search on google about such kind of video play but i don't find it.. there are some answer like use fill parent in height and width ... but i don't want to display full screen directly.</p>
  
  <p>I want to display video in both size small and full screen. How can i do that
  In image you can see fullscreen button in video controller i want to do that.</p>
  
  <p>Any help is appreciated</p>
  
  <p>Thank you<img src="https://i.stack.imgur.com/yI1S3.png" alt="enter image description here"></p>