Skip to content

Commit

Permalink
Allow app content to be visible within the cutout area
Browse files Browse the repository at this point in the history
If a device has a camera cutout, it will no longer appear as a black bar and instead show the app's contents
  • Loading branch information
t895 authored and thestinger committed Apr 19, 2024
1 parent 9ca60df commit 084804e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<!-- required for going edge-to-edge -->
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>

<item name="colorPrimary">@color/graphenePrimaryColor</item>
<item name="colorOnPrimary">@color/grapheneOnPrimaryColor</item>
Expand Down

0 comments on commit 084804e

Please sign in to comment.