How to Zoom in and out Video or any layout

Hello I am working on a video player but some video resolutions are not full screen so they are not looking good and not filling full screen so I want to enable zoom on video or any layout

How to do that? and its possible or not