Android 12.0 SystemUI drop-down status bar customization and implementation of hidden drop-down notification bar layout function (1)

1 Introduction


  In the system customization development of 12.0, since the SystemUI drop-down status bar has changed significantly since 12.0 and 11.0, it can be said that it is necessary to re-analyze the layout of the relevant SystemUI, and then perform analysis to implement different functions. Today, we will start to implement the
relevant Hide the notification bar layout in the SystemUI drop-down status bar series one

As shown in the picture:

2. SystemUI drop-down status bar customization and hidden drop-down notification bar layout function implementation (1) core class

frameworks\base\packages\SystemUI\src\com\android\systemui\statusbar\phone\NotificationPanelViewController.java
frameworks\base\packages\SystemUI\res\layout\status_bar_expanded.xml
frameworks\base\packages\SystemUI\src\com\android\systemui\statusbar\notification\stack\NotificationStackScrollLayoutController.java

3. Core function analysis and implementation of SystemUI drop-down status bar customization and hidden drop-down notification bar layout function implementation (1)

Regarding the implementation of the customization of the SystemUI drop-down status bar and the hidden drop-down notification bar layout function, the first choice is to analyze the related functions of SystemUI. SystemUI
is a key component of the Android operating system. It is mainly responsible for managing and providing core elements of the user interface, such as the status bar and navigation. bar and lock screen interface, etc. Learn about the characteristics of SystemUI from the following two points:

    The definition and function of SystemUI:
  

Guess you like

Origin blog.csdn.net/baidu_41666295/article/details/132838731