Freigeben über


Window.SetDefaultWindowFormat(Int32) Method

Definition

Set the default format of window, as per the PixelFormat types.

[Android.Runtime.Register("setDefaultWindowFormat", "(I)V", "GetSetDefaultWindowFormat_IHandler")]
protected virtual void SetDefaultWindowFormat (int format);
[<Android.Runtime.Register("setDefaultWindowFormat", "(I)V", "GetSetDefaultWindowFormat_IHandler")>]
abstract member SetDefaultWindowFormat : int -> unit
override this.SetDefaultWindowFormat : int -> unit

Parameters

format
Int32

The new window format (see PixelFormat).

Attributes

Remarks

Set the default format of window, as per the PixelFormat types. This is the format that will be used unless the client specifies in explicit format with setFormat();

Java documentation for android.view.Window.setDefaultWindowFormat(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

See also