Intel XDK 隐藏 android 导航栏
Intel XDK hide android navigation bar
我需要在 android 5.0+ 上隐藏 导航栏 。我需要有关 intel XDK 的信息以更改标志或添加标志。
https://developer.android.com/training/system-ui/navigation.html
您可能需要查看与 XDK 一起使用的 UI 框架。这通常是需要进行隐藏栏的调用的地方。
例如,使用离子,这似乎是方法(我们在我们的应用程序上尝试过,并且有效)
$ionicPlatform.ready(function() {
ionic.Platform.fullScreen();
if (window.StatusBar) {
return StatusBar.hide();
}
});
见:
http://forum.ionicframework.com/t/statusbar-hide-ruins-the-layout/1790/4
我需要在 android 5.0+ 上隐藏 导航栏 。我需要有关 intel XDK 的信息以更改标志或添加标志。
https://developer.android.com/training/system-ui/navigation.html
您可能需要查看与 XDK 一起使用的 UI 框架。这通常是需要进行隐藏栏的调用的地方。 例如,使用离子,这似乎是方法(我们在我们的应用程序上尝试过,并且有效)
$ionicPlatform.ready(function() {
ionic.Platform.fullScreen();
if (window.StatusBar) {
return StatusBar.hide();
}
});
见: http://forum.ionicframework.com/t/statusbar-hide-ruins-the-layout/1790/4