简体   繁体   English

如何从 Android 应用程序代号中删除工具栏(使其全屏)

[英]How to remove the toolbar from Android app codenameone (make it fullscreen)

I have tried everything but this toolbar does not want to leave I have even tried setting the color to black so it just rhymes with the background of the app with no avail.我已经尝试了一切,但这个工具栏不想离开我什至尝试将颜色设置为黑色,所以它只是与应用程序的背景押韵但无济于事。

I have tried hiding the toolbar globally that didn't work then I tried hiding the toolbar for just the form that still didn't work.我曾尝试全局隐藏不起作用的工具栏,然后我尝试仅隐藏仍然不起作用的表单的工具栏。

How do I resolve this?我该如何解决? screenshot of app:应用程序截图:
应用程序截图

Try the following:请尝试以下操作:

getToolbar().setUIID("Container");

If this doesn't work open the Component Inspector tool from the simulator and inspect the elements within.如果这不起作用,请从模拟器打开Component Inspector工具并检查其中的元素。 Look at the top area of the screen and see which UIID/Component is taking up that space.查看屏幕的顶部区域,看看哪个 UIID/组件占用了该空间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM