So i have a working code to change the brightness of the screen like in the answer her -
Change the System Brightness Programmatically
I just cant find anywhere how can i show the device's brightness indicator bar changing while the user changes it from the app.
For changing the volume for instance there is a flag that tells it to show the UI (FLAG_SHOW_UI) -
mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, newStreamVolume, AudioManager.FLAG_SHOW_UI);
I am trying to achieve the same effect but on the brightness param.
Any ideas?