Bonjour à tous,
Voilà j'aimerai savoir comment insérer un lien hypertexte dans une view.
Merci pour vôtre aide !![]()
Bonjour à tous,
Voilà j'aimerai savoir comment insérer un lien hypertexte dans une view.
Merci pour vôtre aide !![]()
Salut ,
Tu as une option dans les textview qui s'apelle autoLink , elle est prévu pour cela .
http://developer.android.com/referen.../TextView.html
XML Attributes
android:autoLink
Since: API Level
Controls whether links such as urls and email addresses are automatically found and converted to clickable links. The default value is "none", disabling this feature.
Must be one or more (separated by '|') of the following constant values.
Constant Value Description
none 0x00 Match no patterns (default).
web 0x01 Match Web URLs.
email 0x02 Match email addresses.
phone 0x04 Match phone numbers.
map 0x08 Match map addresses.
all 0x0f Match all patterns (equivalent to web|email|phone|map).
This corresponds to the global attribute resource symbol autoLink.
Partager