I need to locate some of the string's location from the TextView so that I can move my imageView's location to that certain location inside Textview to show my gif images using glide in recyclerView.
This is what I've than so far:

I replaced the previous string with space to transfer my imageview on that certain position but before I will replace it with space I need to locate the string's position on the screen from the position of the string inside textview.