Change-Id: I21e3dfacb4bc1acfbe3b17c5f8001ee758f9eec2
(cherry picked from commit 3943cdc962)
17 lines
429 B
Plaintext
17 lines
429 B
Plaintext
|
|
|
|
|
|
page.tags="TextLinkify"
|
|
sample.group=Views
|
|
@jd:body
|
|
|
|
<p>This sample demonstrates how to add clickable links to a
|
|
{@link android.widget.TextView}, by using these techniques:
|
|
<ul>
|
|
<li>Setting the {@link android.widget.TextView#attr_android:autoLink} property
|
|
to automatically convert the text to a link.</li>
|
|
<li>Parsing a String as HTML</li>
|
|
<li>Manually by constructing a {@link android.text.SpannableString}.</li>
|
|
</ul>
|
|
</p>
|