Android 10.0 SystemUI状态栏下拉快捷区域高度调整

在对SystemUI定制过程种,要求对QuickQSPanel的设置固定高度,然后好在QuickQSPanel增加
控件,
在下拉状态栏后第一次展开的布局其实是quick_status_bar_expanded_header.xml
而它的布局为:

<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"
 

猜你喜欢

转载自blog.csdn.net/baidu_41666295/article/details/124201904
今日推荐