Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void Dim(float amount)
- {
- WindowManager.LayoutParams WMLP = getWindow().getAttributes();
- WMLP.screenBrightness = amount;
- getWindow().setAttributes(WMLP);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement