Rate this page:

RenderScaleType

Types of video renderer scaling.

Consts

Balanced

Copy URL
Balanced: 

Compromise between RenderScaleType.Fill and RenderScaleType.Fit.

Video frame fills as much as possible of the view while maintaining aspect ratio, under the constraint that at least 56.25% of the frame content should be shown.

Fill

Copy URL
Fill: 

Video frame is scaled to fill the size of the view by maintaining the aspect ratio. Some portion of the video frame may be clipped.

Fit

Copy URL
Fit: 

Video frame is scaled to be fit the size of the view by maintaining the aspect ratio (black borders may be displayed).