I have been using mediaController for my app.
By default, the Media Controller is displayed at the bottom of the screen.
Is there a way to display the Media Controller in the middle of the screen instead?
I have been using mediaController for my app.
By default, the Media Controller is displayed at the bottom of the screen.
Is there a way to display the Media Controller in the middle of the screen instead?
At last I got it..
Using this snippet we can re position the mediacontroller to be placed at a particular position based on the layout id or an view's id
Placing the mediacontroller only works if the video size is known. Thus you'll have to do: