Skip to content

Commit a083a58

Browse files
committed
Update
1 parent fb36f04 commit a083a58

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

app/src/main/java/com/tool/tree/ThemeModeState.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ private fun applyWindowFlags(activity: Activity) {
123123

124124
// Tìm và đẩy padding cho Top Bar (Status Bar)
125125
activity.findViewById<View>(R.id.blur_top_container)?.setPadding(0, systemBars.top, 0, 0)
126+
activity.findViewById<View>(R.id.file_selector_list)?.setPadding(0, systemBars.top, 0, 0)
127+
activity.findViewById<View>(R.id.main_list)?.setPadding(0, systemBars.top, 0, 0)
126128

127129
// Tìm và đẩy padding cho Bottom Bar (Navigation Bar)
128130
activity.findViewById<View>(R.id.blur_bottom_container)?.setPadding(0, 0, 0, systemBars.bottom)

app/src/main/res/layout/activity_action_page.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
android:layout_width="match_parent"
44
android:layout_height="match_parent"
5-
android:fitsSystemWindows="true">
5+
android:fitsSystemWindows="false">
66

77
<include
88
layout="@layout/app_bar_main"

app/src/main/res/layout/activity_file_selector.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
android:layout_height="match_parent"
66
android:backgroundTintMode="screen"
77
android:clipToPadding="true"
8-
android:fitsSystemWindows="true"
8+
android:fitsSystemWindows="false"
99
android:keepScreenOn="false"
1010
tools:openDrawer="start">
1111

app/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:app="http://schemas.android.com/apk/res-auto"
44
android:layout_width="match_parent"
55
android:layout_height="match_parent"
6-
android:fitsSystemWindows="true">
6+
android:fitsSystemWindows="false">
77
<include
88
layout="@layout/app_bar_main"
99
android:id="@+id/appbar"

0 commit comments

Comments
 (0)