How to highlight text like in the image?

前端 未结 4 556

How to highlight the text \"cell phone\" in the image?

\"enter

Updated

4条回答
  •  别那么骄傲
    2021-02-07 16:46

    There is a github repository "HighlightedWebView" that achieves virtually the same effect as you so desire.

    enter image description here

    Drop-in WebView subclass that adds Safari-style in-page search-result highlighting.

提交回复
热议问题