https://github.com/P...ncyManager.java
For status bar, it watches for Settings.System.STATUS_BAR_ALPHA_CONFIG and when it gets changed it calls the setBackgroundAlpha method of PanelBar class
which sets the alpha for the background
https://github.com/P...e/PanelBar.java
So basically, you need to take a look at your PanelBar class and call setAlpha on the background drawable e.g. like this
Drawable bg = getBackground(); if (bg == null) return; bg.setAlpha(0); // 0 means fully transparent, 255 is fully opaque







Sign In
Create Account


Back to top














