VideoView fill width and height of container -Android

To fill width and height with video view use the following code in your layout file. Use relative layout to wrap videoview.