From e9afd9633ebc0a6f88ed09b1e0b5ee5094cd85f5 Mon Sep 17 00:00:00 2001 From: utkarsh-tiwari01 Date: Tue, 1 Sep 2026 15:08:11 +0530 Subject: [PATCH] Fix text overflow under top panel in text editor (#439) - Add android:fitsSystemWindows="true" to LinearLayout wrapper (read_text_wrapper) - Add android:fitsSystemWindows="true" to NestedScrollView (read_text_holder) This ensures the layout properly handles system insets (status bar) when keyboard opens, preventing text and contextual menu from overflowing under the status bar. Fixes: #439 --- app/src/main/res/layout/activity_read_text.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/activity_read_text.xml b/app/src/main/res/layout/activity_read_text.xml index f42e46dd..8e5410b9 100644 --- a/app/src/main/res/layout/activity_read_text.xml +++ b/app/src/main/res/layout/activity_read_text.xml @@ -26,6 +26,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:fillViewport="true" + android:fitsSystemWindows="true" android:orientation="vertical" android:scrollbars="none" app:layout_behavior="@string/appbar_scrolling_view_behavior"> @@ -38,7 +39,8 @@ android:id="@+id/read_text_holder" android:layout_width="match_parent" android:layout_height="match_parent" - android:fillViewport="true"> + android:fillViewport="true" + android:fitsSystemWindows="true">