setAspectRatio

Sets the aspect ratio. This aspect ratio is defined as the desired width / height, and does not change upon device rotation.

Return

this builder instance.

Parameters

aspectRatio

the new aspect ratio for the activity in picture-in-picture, must be between 2.39:1 and 1:2.39 (inclusive).