Android Tutorial 29 - Using Links with TextView

Published: 24 March 2014
on channel: Code Here Now
8,267
25

This is an excerpt from Learn by Doing - Android for Beginners on Udemy.
https://www.udemy.com/learn-by-doing-...

This video teaches you how to add links to your TextView.

Things to Remember
-------------------------------
1. Use the Auto Link property from your XML and use one of the following values - web, email, phone, map and all.

2. To set the property from Java use TextView.setAutoLinkMask(int) method to specify a linkify method. The int parameters takes constant values from the Linkify class.

3. If you set the auto link property from Java, make sure to call the TextView.setText(CharSequence) method.


On this page of the site you can watch the video online Android Tutorial 29 - Using Links with TextView with a duration of hours minute second in good quality, which was uploaded by the user Code Here Now 24 March 2014, share the link with friends and acquaintances, this video has already been watched 8,267 times on youtube and it was liked by 25 viewers. Enjoy your viewing!