在模拟器和设备上的StatusBar受到不同对待

问题描述 投票:0回答:1

我使用内部内容进行了简单的标签导航。 (即使仅使用app.compnent.tns.html中的按钮进行测试,即使没有导航也是如此),并且在Android模拟器上,按钮隐藏在StatusBar下,但在实际设备上却不是。我确定我没有应用任何全局样式。有人可以建议为什么,我应该怎么做才能使其类似吗?

enter image description here

enter image description here

android angular mobile nativescript statusbar
1个回答
0
投票

这是由于设备和模拟器上的Android版本不同(9和10)。我通过以下操作解决了这个问题:https://github.com/NativeScript/nativescript-angular/issues/2110#issuecomment-576570728

© www.soinside.com 2019 - 2024. All rights reserved.