All screens have a minimum brightness without completely turning off. This is the setting of 0.0f . This is a hardware limitation and depends on the phone; There is no way to set the screen completely dark using hardware. (You can remove the highlight, as @trumpetlicks answer indicates.)
If you are only trying to control the brightness for a single application, you can use AbsoluteLayout to place your application and place the View with 100% width, 100% height superimposed on top of everything else, and set the background to rgba(0, 0, 0, <your alpha value>) . I think this is as close to dimming as you can get.
source share