Android display issue with hyper link
See original GitHub issueGiven a html text I shared some of my (perhaps terrible) <a href=\"https://twitter.com/rrhoover/status/924678180073455617\">ideas on Twitter</a> earlier today
.
Result
The hyper link takes up one line.
Expected result The hyper link is inline with other texts
Issue Analytics
- State:
- Created 6 years ago
- Comments:9
Top Results From Across the Web
Clickable links - Android Accessibility Help - Google Support
Android offers developers several different ways to display text that is styled and behaves as a hyperlink. Some approaches support accessibility services more ......
Read more >Can't open links in Android apps? Here's what to do!
If you can't open links on Android apps, make sure to inspect WebView, clear data from Google Services, or reset app preferences.
Read more >How to make links in a TextView clickable - Stack Overflow
Buried in the API demos, I found the solution to my problem: File Link.java: // text2 has links specified by putting <a> tags...
Read more >9 Ways to Fix “No App Found to Open URL” in Android
1. Force-Close Android Apps and Retry ... It's best to begin by force-quitting the browser or app that displays the “No App Found...
Read more >Handling Android App Links
Overview · Load and display paged data · Page from network and database · Transform data streams · Manage and present loading states...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s valid. Thanks
Currently, the library expects valid HTML, meaning it should be wrapped in a single top level tag. Not doing so will break lines for all first level tags (not just
<a>
) as the RootComponent default is a View (not inline styled). If you have no control over the source, you could wrapvalue
before passing it to the HTMLView component: