Android screen brightness Max Value?

A.J picture A.J · Aug 16, 2012 · Viewed 9.8k times · Source
    WindowManager.LayoutParams layout = getWindow().getAttributes();
    layout.screenBrightness = 1F;
    getWindow().setAttributes(layout);

I added this code to button onClick and it worked ! But is there a higher value since the screen didn't light MAX ??

Answer

Dalmas picture Dalmas · Aug 16, 2012

As stated in the documentation, no. Setting screenBrightness to 1 should adjust the brightness to full light.