vozhyk- / kanji-assist

A Rikaichan-like Assist application for Android
Apache License 2.0
0 stars 0 forks source link

Multiple views for a single paragraph of text in Chrome #12

Open vozhyk- opened 7 years ago

vozhyk- commented 7 years ago

Chrome makes a view for each paragraph and a view for each hyperlink in a paragraph. Both kinds of views are on the same level in the assist structure tree.

Merge the views into a single one.

Try a heuristic: Remove a view if

Changing the text color of the substring to the removed one's might make sense.

vozhyk- commented 7 years ago

(Resubmitting an accidentally removed comment.)

Test fixture: chrome_overlapping_paragraph. Some views from a paragraph are completely on top of the others, making them invisible and impossible to press. chrome_overlapping_paragraph_pre chrome_overlapping_paragraph_post