You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/01 20:28:27 UTC

[GitHub] [cordova-plugin-statusbar] breautek commented on issue #155: Plugin not working on Android 9

breautek commented on issue #155: Plugin not working on Android 9
URL: https://github.com/apache/cordova-plugin-statusbar/issues/155#issuecomment-537215303
 
 
   Below should be all you need to set the statusbar to overlay mode. It will make the status bar transparent, and your webview will appear **underneath** the status bar (so `padding-top` may be necessary).
   
   ```javascript
   document.addEventListener('deviceready', () => {
       StatusBar.overlaysWebView(true);
   });
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org