开发者

Removing the Window titlebar after adding content [Android]

The question is quite simple "How do I remove the titlebar from a WebView, afte开发者_StackOverflow中文版r adding content ? Normally you use requestWindowFeature(Window.FEATURE_NO_TITLE); But you can only use that method before adding content :(

So any ideas ? :)

Thanks


I'm fairly certain the answer to the question is "you can't".

Your best bet is probably turn off the real window title (as you detail in your question) then define a titlebar-like element of your own in your layout file...which you can then show/hide at will.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜