From fb525d62ed630c9731a4704ad3b9848b0fc10752 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 27 Feb 2019 13:15:32 +0800 Subject: Don't draw under display cutouts in landscape mode (API >= 28). --- app/src/main/res/layout/activity_main.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 6a5a0aff..13eec540 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -17,8 +17,7 @@ android:id="@+id/nav_view" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_gravity="start" - android:fitsSystemWindows="true"> + android:layout_gravity="start">