Android.Views.Window.SetFormat Method
Set the format of window, as per the PixelFormat types.

Syntax

[Android.Runtime.Register("setFormat", "(I)V", "GetSetFormat_IHandler")]
public virtual void SetFormat ([Android.Runtime.GeneratedEnum] Android.Graphics.Format format)

See Also

Android.Graphics.PixelFormat

Parameters

format
The new window format (see PixelFormat). Use PixelFormat.UNKNOWN to allow the Window to select the format.

Remarks

Set the format of window, as per the PixelFormat types. This overrides the default format that is selected by the Window based on its window decorations.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1