tags:

views:

62

answers:

2

HI,

Can you please if how can I render text TextView with URL like appearance (blue text with an underline)? And it can mixed with regular text (display as plain text)? And when I click on it, it will launch WebView loading that URL?

Thank you.

+2  A: 

Check autoLink parameter of TextView.

Karan
A: 

You could also create a button, image button, etc. and run a method kinda like this on press:

private void openLink(){

Intent i = new Intent(Intent.ACTION_VIEW); 
supportIntent.setData(Uri.parse("http://www.example.tld/"));    
this.startActivity(i);  }

But Karan's solutions is probably more straight forward for your purpose.

Cheers Johe

Johe Green