Share via


VirtualDisplay.Resize(Int32, Int32, Int32) Method

Definition

Asks the virtual display to resize.

[Android.Runtime.Register("resize", "(III)V", "")]
public void Resize (int width, int height, int densityDpi);
[<Android.Runtime.Register("resize", "(III)V", "")>]
member this.Resize : int * int * int -> unit

Parameters

width
Int32
height
Int32
densityDpi
Int32
Attributes

Remarks

Asks the virtual display to resize.

This is really just a convenience to allow applications using virtual displays to adapt to changing conditions without having to tear down and recreate the display.

Java documentation for android.hardware.display.VirtualDisplay.resize(int, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to