开发者

highlight the word on longpress android

Hello In my android application i am using a webview to display apage of contents . What i require is like if the user longpress on a word then that particular word s开发者_开发知识库hould be highlighted and should be highlighted even if the user reloads the app again.

Is there any way that i can get this done in android.

Please forward your valuable suggestions.

Thanks in advance:)


Putting it in a WebView is what will make this tricky, if it were just a regular view I would say extend TextView and implement onLongClickListener for it as well. Not sure how to squeeze this into an existing webview though :/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜