I've got a Dialog sub-class with a textview - the view contains html with
weburls.
the links are not working - here's my code
My class is derived from android.app.Dialog - in the constructor i have:
TextView textView1 = (TextView)findViewById(
R.id.about_about_textview );
textView1.setText( Html.fromHtml( context.getString(
R.string.about_notes ) ) );
Linkify.addLinks(textView1, Linkify.WEB_URLS);
textView1.setMovementMethod(LinkMovementMethod.getInstance());
from my main activity - i do:
AboutDialog dialog = new AboutDialog(this);
dialog.show();
The links show up - but they're not clickable.
--
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
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.