I have a text view that contains long text that covers half the screen,
In this text view, I have two words in a different position, above which I have to place an empty layout that will give it a glass effect.
I can do this by placing a text image in a frame and placing a layout above it.
The problem is how to get the coordinates of words, since the text can be placed in different positions on different devices.

I want to place the layout in a place marked in white. Can someone please help Thanks.
source
share