summaryrefslogtreecommitdiff
path: root/packages/CarSystemUI/res
diff options
context:
space:
mode:
authorAbhijoy Saha <abhijoy@google.com>2020-06-12 23:08:44 +0000
committerHeemin Seog <hseog@google.com>2020-07-23 16:01:43 -0700
commitf0988b92e29ca674a33c9da0113f7e00ad1cadda (patch)
tree75bb085de2e652de53e135ff3cc026283ffc1c93 /packages/CarSystemUI/res
parent9a85dc9c0a75ff0bb210db9b0712786b57ac5c61 (diff)
Improve SystemUIOverlayWindow control
1. Make sysui overlay window views more stable 2. hide/show system bars using insets in SystemUIOverlayWindow Bug: 161926721 Bug: 151617493 Test: Manual & Unit Tests Change-Id: I78fd2b5e8488d2f5006edd9773308e2bb9856d2b
Diffstat (limited to 'packages/CarSystemUI/res')
-rw-r--r--packages/CarSystemUI/res/layout/car_user_switching_dialog.xml1
-rw-r--r--packages/CarSystemUI/res/layout/sysui_overlay_window.xml4
2 files changed, 1 insertions, 4 deletions
diff --git a/packages/CarSystemUI/res/layout/car_user_switching_dialog.xml b/packages/CarSystemUI/res/layout/car_user_switching_dialog.xml
index 0a294246dfaa..09fbf7a59a8c 100644
--- a/packages/CarSystemUI/res/layout/car_user_switching_dialog.xml
+++ b/packages/CarSystemUI/res/layout/car_user_switching_dialog.xml
@@ -15,7 +15,6 @@
~ limitations under the License.
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:fitsSystemWindows="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
diff --git a/packages/CarSystemUI/res/layout/sysui_overlay_window.xml b/packages/CarSystemUI/res/layout/sysui_overlay_window.xml
index 2dc499c160c6..2c9788955bfa 100644
--- a/packages/CarSystemUI/res/layout/sysui_overlay_window.xml
+++ b/packages/CarSystemUI/res/layout/sysui_overlay_window.xml
@@ -22,12 +22,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <!-- TODO(b/151617493): replace marginBottom with insets. -->
<ViewStub android:id="@+id/notification_panel_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout="@layout/notification_panel_container"
- android:layout_marginBottom="@dimen/navigation_bar_height"/>
+ android:layout="@layout/notification_panel_container"/>
<ViewStub android:id="@+id/keyguard_stub"
android:layout_width="match_parent"