Hello everyone,

apologies if I missed something obvious...

What I am trying to accomplish is to have clickable hyperlinks in the
message text displayed by an AlertDialog. While the AlertDialog
implementation happily underlines and colors any hyperlinks (defined
using <a href="..."> in the string resource passed to
Builder.setMessage) supplied the links do not become clickable.

The code I am currently using looks like this:
        new AlertDialog.Builder(MainActivity.this).setTitle(
                        R.string.Title_About).setMessage(
                        getResources().getText(R.string.about))
                        .setPositiveButton(android.R.string.ok, null)
                        .setIcon(R.drawable.icon).show();

I'd like to avoid using a WebView to just display a text snippet, so
any advice how to get this working is much appreciated!

Thanks,
Thilo

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

Reply via email to