I've got a webview in my app. How can I display an address bar (like the one in the Browser开发者_如何学Go app) show on top of it?
Add an EditText
on top of the page.
you can set its text using setText
to webview.getUrl()
Just add an Edittext and set a key listener on that edittext for example if the user press enter key then get the url from that and load that url ... that's it ... tell me if you understand otherwise i will post the code here ..
精彩评论