Dim Screen Android Firemonkey
问题 Does anyone know how to dim the screen on Delphi Firemonkey for Android? I've been googling around and searching but could only find how to remove the auto dim for android by acquiring a Wakelock (Delphi XE5 Android. How to use PowerManager.WakeLock?). At best I'd like to achieve two states: Evening = 20% brightness Daytime = 100% brightness I am using Delphi 10.1 Berlin. Thank you for your help. 回答1: Taking this Stack Overflow question, which has the Java solution, as a guide I rustled up