I have a text in an view in android.I want that my url should开发者_StackOverflow be hyperlighted and It should have different color other that background color..Can anyone tell,Whats the procedure? Thanks in advance
Regards Tushar
Put an autolink attribue on your text field:
<TextView android:id="@+id/TweetTextView"
android:autoLink="web"
See the docs for all options.
Change color of Hyperlink in AlertDialog
精彩评论