Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在研究钛项目,并面临一个问题,当我使用win.open({modal:true});我的应用程序屏幕时,Android 设备中的状态栏和标题栏没有隐藏。我怎样才能解决这个问题?
win.open({modal:true});
要在屏幕中隐藏标题栏,只需在添加 setcontentview 之前在 oncreate 中执行此操作。这将隐藏您的标题栏
requestWindowFeature(Window.FEATURE_NO_TITLE);