Android Utililty Methods Screen Brightness Set

List of utility methods to do Screen Brightness Set

Description

The list of methods to do Screen Brightness Set are organized into topic(s).

Method

voidsetScreenBrightness(final Activity pActivity, final float pScreenBrightness)
set Screen Brightness
final Window window = pActivity.getWindow();
final WindowManager.LayoutParams windowLayoutParams = window
        .getAttributes();
windowLayoutParams.screenBrightness = pScreenBrightness;
window.setAttributes(windowLayoutParams);