Skip to content

Shirish Koirala

Just another WordPress site

Author: shirishkoirala

How to change Brightness of Android Layout Programmatically without Permissions

TLDR; WindowManager.LayoutParams layout = requireActivity().getWindow().getAttributes(); layout.screenBrightness = 1F; requireActivity().getWindow().setAttributes(layout);

Published March 12, 2023
Categorized as Uncategorized

Recent Posts

  • How to change Brightness of Android Layout Programmatically without Permissions

Recent Comments

No comments to show.
Shirish Koirala
Proudly powered by WordPress.