Skip to content

Commit 4739e50

Browse files
committed
Set fitsSystemWindows to true for the root layout container (LinerarLayout) in the sample app to never draw UI under system bars
1 parent 08d9de6 commit 4739e50

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sample/src/main/res/layout/main_activity.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
android:layout_width="match_parent"
66
android:layout_height="match_parent"
77
android:orientation="vertical"
8+
android:fitsSystemWindows="true"
89
tools:background="@drawable/example_gradient"
910
tools:context=".MainActivity" >
1011

0 commit comments

Comments
 (0)