When the system pulls down the status bar to expand and pull down, the height of the UI interface is adjusted. It is preferred to analyze the relevant UI layout source code of the pull-down area and then make adjustments.
In SystemUI, pull down the quick_status_bar_expanded_header.xml layout for the first time
<com.android.systemui.qs.QuickStatusBarHeader
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="@*android:dimen/quick_qs_total_height"
android:layout_gravity="@integer/notification_panel_layout_gravity"
android:background