Title bar appeared again after coming back in my application

匿名 (未验证) 提交于 2019-12-03 09:14:57

问题:

In my application, I have applied following theme in my manifest file:

android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 

and it is working fine.
But when I call someone from my app as per application requirement, and come back again in my application after call end, title bar appears in app again. I am not getting that what is the problem. Please help me out.

I don't want a title bar in my application at all.

回答1:

This looks like a known issue:

Sounds like the following will fix it:

getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,  WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);  


标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!