0

In the Google Play Books app when I select a word I can see the dictionary defintion for it which I can then drag the dictionary view up and over the selected text including the markers.

When I try and do a similar thing I am seeing the selected text markers on top of my view that is supposed to be overlaying. See the screenshot below.

I have my view on top of the WebView and it is clearly covering up all the text within the webview. Does anyone know of any easy way to get the view covering up the text selection markers?

enter image description here

Community
  • 1
  • 1
JamieH
  • 4,788
  • 6
  • 28
  • 29

1 Answers1

0

After fiddling around I don't think its possible to do it with a normal view. Instead I am using a custom Dialog Fragment to achieve what I want which does properly cover the text selection markers.

JamieH
  • 4,788
  • 6
  • 28
  • 29