Only make navbar and status bar transparent on 21+

There is no easy way to handle insets pre 21, forget about it
This commit is contained in:
topjohnwu
2020-08-27 04:07:34 -07:00
parent fb3f8605fd
commit b4e8860ee4
3 changed files with 12 additions and 17 deletions
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Foundation.Compat">
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:windowTranslucentStatus">true</item>
</style>
</resources>