Instead of clipping on the navbar, as the QS background takes the whole screen, just have a padding the size of the navbar. That way, when the QS container is scrolled completely to the bottom, no view is obstructed by the nav bar. Test: manual Fixes: 187444362 Change-Id: If22f46a27d48066571ba5c2193c9f6e2e0c3fe24
55 lines
2.2 KiB
XML
55 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<com.android.systemui.qs.QSContainerImpl
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/quick_settings_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:clipChildren="false" >
|
|
|
|
<com.android.systemui.qs.NonInterceptingScrollView
|
|
android:id="@+id/expanded_qs_scroll_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:elevation="4dp"
|
|
android:importantForAccessibility="no"
|
|
android:scrollbars="none"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:layout_weight="1">
|
|
<com.android.systemui.qs.QSPanel
|
|
android:id="@+id/quick_settings_panel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@android:color/transparent"
|
|
android:focusable="true"
|
|
android:accessibilityTraversalBefore="@android:id/edit"
|
|
android:clipToPadding="false"
|
|
android:clipChildren="false">
|
|
<include layout="@layout/qs_footer_impl" />
|
|
</com.android.systemui.qs.QSPanel>
|
|
</com.android.systemui.qs.NonInterceptingScrollView>
|
|
|
|
<include layout="@layout/quick_status_bar_expanded_header" />
|
|
|
|
<include android:id="@+id/qs_detail" layout="@layout/qs_detail" />
|
|
|
|
<include android:id="@+id/qs_customize" layout="@layout/qs_customize_panel"
|
|
android:visibility="gone" />
|
|
|
|
</com.android.systemui.qs.QSContainerImpl>
|