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 2018/07/18 12:49:49 UTC

[GitHub] aszmyd commented on issue #98: Add `getStatusBarHeight` method for Android

aszmyd commented on issue #98: Add `getStatusBarHeight` method for Android
URL: https://github.com/apache/cordova-plugin-statusbar/pull/98#issuecomment-405918855
 
 
   When you use `StatusBar.overlaysWebView(true);` method to have "transparent" statusbar and you want to pull down contents so they won't conflict with statusbar, you need to know how tall is the transparent statusbar. If there is any other way to achieve that, im keen to read about it. Android devices are different also so the statusbar height can vary. iOS mostly has `20px` from top as far as i know. iPhoneX has some css variables to use to get top padding.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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