-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Links are not clickable in ExpandableTextView #51
Comments
As we can |
@naveenvenkannagari The links are clickable..
then set the LinkMovementMethod to it
Make sure theres NO |
If I use more than one ExpandableTextView (as in list view) it only work for first entry, moreover we are not able to rename IDs (like expandable_text), so I cannot make unique IDs for another entries. |
Tried this but with no success. Can someone provide a way to implement it? The expandable textview closes when I click on the link inside the expanded textview. |
I had to import ExpandableTextView class and do some corrections in both ExpandListener and CollapseListener : Then in layout.xml i used: com.my.packagename.ExpandableTextView to load edited class instead of original one. |
I am doing precisely that... going to recheck it and let you know. Thanks for helping me out! |
I can do it on the textview while not expanded. But it didn´t work on the expanded text. Needed to also add to the xml element: |
Setting HTML text as a part of ExpandableTextView using (Html.fromHtml(String, int)) . when there are hyperlinks as a part of HTML content its display as a link. the clicking of that link will collapse the view instead of opening that in browser.
Is the textview which is wrapped in ExpandableTextView (LinearLayout) is
textview.setMovementMethod(LinkMovementMethod.getInstance()); ??
The text was updated successfully, but these errors were encountered: