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 ??
According to Android Authority, the 0-500 nits is the normal range of brightness levels for the Nothing Phone (1). The display cranks up the brightness to those levels in usual conditions. The 500-700 brightness levels kick in only in the auto-brightness mode and when the phone faces an intense light source.
Adjust brightness on Android device On an unlocked device, swipe your finger down from the top of the screen twice. Press and hold your finger on the brightness slider (shown below) and drag left or right to adjust the brightness.
To change the brightness on an external monitor, use the buttons on it. The Brightness slider appears in action center in Windows 10, version 1903. To find the brightness slider in earlier versions of Windows 10, select Settings > System > Display, and then move the Change brightness slider to adjust the brightness.
As stated in the documentation, no. Setting screenBrightness
to 1 should adjust the brightness to full light.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With