ngocdaothanh / cordova-plugin-unswipable-android-status-bar

Prevents Android status bar to be swiped down to display system quick menu
MIT License
4 stars 3 forks source link

Status bar is disabled but still visible #5

Open kobvel opened 6 years ago

kobvel commented 6 years ago

The status bar is disabled. But it is still visible. How can I remove it completely? Android 5.1

TJBlack31 commented 6 years ago

@kobvel This library is inherited from the ViewGroup class.

Have you checked out the methods for this class?

You might be able to set the params to WRAP_CONTENT and then do statusBar.removeAllViews()

or something along those lines. Let us know what you find!

kobvel commented 6 years ago

@TJBlack31 I just made it hidden with the standard library ionic-native/status-bar. Looks good now, but I can make it visible by swiping down. It does not show any notifications or controls. But shows the status bar for few seconds.