I have a TextView that I am setting some text. I have the
autoLink="true" attribute set in XML, and some links don't seem to be
clickable, while others are.

So far, from what I can tell, the links that work are simple domain
links like http://www.example.com, while the links that don't work are
generally ones with trailing paths (namely bit.ly type links),
http://bit.ly/202hslshds

Has anyone encountered this issue before? Why would some links be
clickable and others not, even though they do get properly styled?

I've searched this group and google and have not found any reasonable
explanation. I have tried setting the MovementMethod, setting the
TextView's linksClickable XML, as well as calling that in java.

What makes this even stranger is that the links seem to be more (if
not all) clickable when I flip the phone to landscape.

I'm on the verge of splitting the TextView into a horizontal
LinearLayout of TextViews and assigning onClick handlers to each
clickable piece, but that seems like an aweful lot of work for
something that seems like it should just work. Anybody else have
issues/solutions on this?

-- 
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