aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-02-27 05:15:32 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-02-27 05:15:32 +0000
commitfb525d62ed630c9731a4704ad3b9848b0fc10752 (patch)
tree28e0722e20850218351695854e83d6d65d2cd561 /app/src/main/res/layout
parentacc08489fa9df2519608dbfaa08b18a33b93c9d8 (diff)
downloadinfinity-for-reddit-fb525d62ed630c9731a4704ad3b9848b0fc10752.tar
infinity-for-reddit-fb525d62ed630c9731a4704ad3b9848b0fc10752.tar.gz
infinity-for-reddit-fb525d62ed630c9731a4704ad3b9848b0fc10752.tar.bz2
infinity-for-reddit-fb525d62ed630c9731a4704ad3b9848b0fc10752.tar.lz
infinity-for-reddit-fb525d62ed630c9731a4704ad3b9848b0fc10752.tar.xz
infinity-for-reddit-fb525d62ed630c9731a4704ad3b9848b0fc10752.tar.zst
infinity-for-reddit-fb525d62ed630c9731a4704ad3b9848b0fc10752.zip
Don't draw under display cutouts in landscape mode (API >= 28).
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_main.xml3
1 files changed, 1 insertions, 2 deletions
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">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"