英特尔XDK隐藏了android导航栏

时间:2015-03-06 11:09:13

标签: android cordova intel-xdk crosswalk-runtime

我需要在android 5.0+上隐藏导航栏。我需要有关 intel XDK 的信息以获取更改标志或添加标志。

https://developer.android.com/training/system-ui/navigation.html

1 个答案:

答案 0 :(得分:0)

您可能需要查看与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