Android Guides | Samples

Android.Views.WindowManagerLayoutParams.ButtonBrightness Property

This can be used to override the standard behavior of the button and keyboard backlights.

Syntax

[Android.Runtime.Register("buttonBrightness")]
public Single ButtonBrightness { get; set; }

Remarks

This can be used to override the standard behavior of the button and keyboard backlights. A value of less than 0, the default, means to use the standard backlight behavior. 0 to 1 adjusts the brightness from dark to full bright.

[Android Documentation]

Requirements

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