You need to change the background color of the drop-down status bar.
In this area of code path Frameworks/base/packages/systemui
The ID of the control can be obtained through ANDROIDSDK's own tool uiautomatorviewer
The ID of the top status bar is header
Looking for a control with the header ID in Frameworks/base/packages/systemui
Defined in the Status_bar_expanded_header.xml file under the Res/layout folder
A custom control that inherits from Relativelayout, background to the Drawable folder.
NOTIFICATION_HEADER_BG, this file implements the effect of water ripple, the root node is ripple
Color for long, timely water ripple
The System_secondary_color in item is a separate color,
The color matches the original color, so modifying the color of the system_second_color can change the color of the top status bar, and when there are no subnodes under ripple, it becomes transparent, and the color defined in color appears when you click on a long time
Modify the color you want to define
The top color is modified
The Quick Settings area below
ID is Quick_settings_container
There are definitions in the Res/layout/qs_panel.xml file
The color of the Qspanel is set to full transparency, so the background color of Qscontainer is displayed.
View Qs_background_primary
Inset the distance from the image to the top of the embedded image resource Insettop
Shape defines the color and the degree of Four Corners
Make changes to System_primary_color
E5 represents transparency by hexadecimal calculation of 90% of the value of transparency, FF is opaque
Comparison of modified results
"Systemui" Modify the drop-down status bar color