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/20 01:51:34 UTC
[GitHub] Menardi commented on issue #98: Add `getStatusBarHeight` method for
Android
Menardi commented on issue #98: Add `getStatusBarHeight` method for Android
URL: https://github.com/apache/cordova-plugin-statusbar/pull/98#issuecomment-406464984
@aszmyd Looking at the Android code, the statusbar height is always `24dp` (see https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/dimens.xml#35). So, in a Cordova app, this would always be 24px, since the webview scales to have 1dp == 1px. Have you observed any other values? I'm inclined to just add a line to the docs saying the status bar height is always 24px. Do you think this would be sufficient?
----------------------------------------------------------------
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