Does anyone know of a way to Display URL's in webview like this
But here I am geting Like this here no focus and no click option not working any thing give me some sugessions please..
this code useing display data in webview
webview.getSettings().setJavaScriptEnabled(true);
webview.loadDataWithBaseURL(null, string, "text/html", "utf-8", null);
Sample code:
Java:
android:
Android WebView: Change Auto-Link Display for webview
Please Add android:autoLink="web" in your TextView
Use
Linkify
.String str="Your text goes here...
http://stackoverflow.com/questions/14576507/android-how-to-display-links-in-webview-like-this
";Try this:
If you are loading a string of html texts into webView then you can use:
If you have an html file then you can use:
Note: Dont forget to put your html file in your assets folder.
Cheers!!! :D