[
https://issues.apache.org/jira/browse/CB-11177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Shakhnazarov updated CB-11177:
-------------------------------------
Description:
This can be partially avoided by showing a statusbar:
{noformat}
var statusBar = Windows.UI.ViewManagement.StatusBar.getForCurrentView();
if (statusBar) {
statusBar.backgroundColor = { a: 0, r: 41, g: 40, b: 38 };
statusBar.backgroundOpacity = 1;
statusBar.showAsync();
}
{noformat}
This should be conditional to soft navigation bar presence though.
> SplashScreen gets shifted on Windows devices with soft navbar
> -------------------------------------------------------------
>
> Key: CB-11177
> URL: https://issues.apache.org/jira/browse/CB-11177
> Project: Apache Cordova
> Issue Type: Bug
> Components: Windows
> Reporter: Sergey Shakhnazarov
> Assignee: Sergey Shakhnazarov
> Labels: splashscreen
> Attachments: extendedSplash[1].png, launchImage[1].png
>
>
> This can be partially avoided by showing a statusbar:
> {noformat}
> var statusBar = Windows.UI.ViewManagement.StatusBar.getForCurrentView();
> if (statusBar) {
> statusBar.backgroundColor = { a: 0, r: 41, g: 40, b: 38 };
> statusBar.backgroundOpacity = 1;
> statusBar.showAsync();
> }
> {noformat}
> This should be conditional to soft navigation bar presence though.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]