You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/04/27 12:02:08 UTC

[GitHub] [cordova-plugin-statusbar] wwiechorek commented on issue #112: how to get statusbar height

wwiechorek commented on issue #112:
URL: https://github.com/apache/cordova-plugin-statusbar/issues/112#issuecomment-619939483


   To get statusbar height on android I use in JS:
   var statusbarheight = screen.height - window.innerHeight
   
   And I set this variable on css var.
   
   Is it is correct?


----------------------------------------------------------------
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



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