No, but the simple way to do it is to have a textview in your layout xml.
Set the android:linksClickable="true"

Then, in your code add a click listener to the textview to handle the click.
To make it look like a link set the hml like so:
myTextView.setText(Html.fromHtml("<a href='#'>hello world</a>"));

On Sat, Feb 19, 2011 at 4:06 AM, Zsolt Vasvari <[email protected]> wrote:
> You could maybe put a ImageButton over a TextView and set the button's
> image to a state list drawable with transparent colors for the various
> states.  That way you would get a visual indication when your text is
> focused/clicked, etc.  You *MAY* be able to simpy make a TextView
> focusable, but I am not sure how you would change the focus/clicked
> colors of the text, which is why my previous suggestion.
>
> On Feb 19, 5:33 pm, AndroidDevTime <[email protected]> wrote:
>> Does Android have a link button?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://developingthedream.blogspot.com/,
http://www.youtube.com/user/revoltingx

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to