From 0997dd93a1f8dc6c81f2bebcde713723a8be3058 Mon Sep 17 00:00:00 2001 From: Handa Wang Date: Mon, 28 Oct 2024 05:58:11 +0000 Subject: [PATCH] [Thread] Fix the overlap of top app bar and the system's status bar in demo app Before: https://screenshot.googleplex.com/7NJy8izdNKJoa4u After: https://screenshot.googleplex.com/V4PyKzkQbwBVJw8 Change-Id: I3073541ea02ae9936fef728f04aece1d6389c5e8 --- thread/demoapp/res/layout/main_activity.xml | 1 + thread/demoapp/res/layout/thread_network_settings_fragment.xml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/thread/demoapp/res/layout/main_activity.xml b/thread/demoapp/res/layout/main_activity.xml index 12072e5242..d874db1440 100644 --- a/thread/demoapp/res/layout/main_activity.xml +++ b/thread/demoapp/res/layout/main_activity.xml @@ -21,6 +21,7 @@ android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent" + android:fitsSystemWindows="true" tools:context=".MainActivity"> + android:layout_height="match_parent">