android - How to add new view -
i've created normal activity layout original relative layout.my xml button redirect webpage. , want create total screen of webview when tap, set setcontentview(mwebview); (which dynamically called) ...
my problem - appear banner image (which created xml -) upon mwebview!
my code -
(imgbanner above code , findviewbyid) btnlogin.setonclicklistener(new onclicklistener() { @override public void onclick(view v) { mwebview.loadurl("http://www.facebook.com"); mwebview.setwebviewclient(new webviewclient() { @override public boolean shouldoverrideurlloading(webview view, string url) { view.loadurl(url); homecoming true; } }); setcontentview(mwebview); } });
android view webview
No comments:
Post a Comment