Android 10.0 QSPanel changed to display 9 layouts in one line

When the SystemUI drop-down status bar is expanded for the second time, the default QSPanel shortcut function key is displayed in 3 rows and 3 columns. Now it is changed to 1 row and 9 columns due to the needs of the function,
so you need to see the code of the detailed layout

QSPanel.java
路径为:
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java

@Inject
    public QSPanel(@Named(VIEW_CONTEXT) Context context, AttributeSet attrs,
            DumpController dumpController) {
   
    
    
        super(context, attrs);
        mContext = context;

        setOrientation(VERTICAL);<

Guess you like

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