From e7da062d9ad12f05032077ee2b00d4469776f18b Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Fri, 5 May 2023 13:41:31 -0700 Subject: [PATCH] Fixing WidgetBottomSheet getting cut off around insets Bug: 265639220 Test: Verified on device Flag: N/A Change-Id: If595fde8e84a226aef82f41caa0be913b22d99c2 --- res/layout/widgets_bottom_sheet_content.xml | 2 +- src/com/android/launcher3/widget/WidgetsBottomSheet.java | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/res/layout/widgets_bottom_sheet_content.xml b/res/layout/widgets_bottom_sheet_content.xml index b76eef7608..065c2edf91 100644 --- a/res/layout/widgets_bottom_sheet_content.xml +++ b/res/layout/widgets_bottom_sheet_content.xml @@ -42,7 +42,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:fadeScrollbars="false" - android:layout_marginVertical="16dp"> + android:layout_marginTop="16dp"> 0) { setupNavBarColor();