Fullscreen On a Vue Project + NativeScript with Notch

I would like to make my app Full-screen on a Vue Project under NativeScript, it sounds easy by #bradwaynemartin method, but there is a problem: my phone has a Notch and it leaves a black strip through the Notch,

how can I remove the strip and make my app totally full-screen?

OS: Android Pie 9

Upvotes: 0

Views: 377

Answers (1)

Meyti
Meyti

Reputation: 88

Add this property to application theme:

<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>

Upvotes: 1

Related Questions