MTK6572 platform changed customer requirements SYSTEMUI transparent effect, nothing changed for a day progress!
Summarized below, modified status_bar_background value # 00000000, the results show the effect of the following figure
Then continue with the code, found a onDraw method statusbarWindowView inside, this method called canvas.drawRect (0, 0, canvas.getWidth (), canvas.getHeight (), pt); this function, modify the parameters for the pt. setColor (0x00000000); green frame disappeared, but the background is black.
After fruitless with the code, for help. .
Reply:
Can find the corresponding layout XML file, to modify it? It is determined to be modified?
Reply:
Code which is Gemini_super_status_bar.xml call this a dual card call. I turn, changed the useful, backgroun changed # 00000000 will be shown later that figure with a green frame of the
Reply:
Issue has been closed. Old long online search data. .
Reply:
Your problem solved? Excuse me, this is the same problem I have, ah, change xml seemingly no effect, and how to change the background are still black ~ ~
Reply:
# B0000000 try
Reply:
Rely on to solve the problem, nor reply to the next solution.
Reply:
Today is also engaged in this issue, inadvertently found to this page.
No results were disappointing, so I put the stickers solution.
The first is the status_bar_background set # 00000000
Then PhoneStatusBar.java in makeStatusBarView () method in
mStatusBarWindow.setBackground (null); This one commented.
Then the method mPixelFormat = PixelFormat.OPAQUE;
Instead mPixelFormat = PixelFormat.TRANSLUCENT;
WindowStateAnimator.java in updateSurfaceWindowCrop () method
applyDecorRect (mService.mSystemDecorRect); following additional sentence:
if (w.mAttrs.type == LayoutParams.TYPE_WALLPAPER)
{
w.mSystemDecorRect.top = 0;
}
I hope to help a friend back to the query.
No comments:
Post a Comment