Aligning ImageSpan with Spanable String

Viewed 999

I know there are many questions of the same type available and I have tried so many solutions but all of them are not meeting my requirements.

My problem is that I have to add a dynamic line spacing between the text containing Spanable strings and Imagespan but when I add the line spacing the alignment of the text and image gets distorted.

I have tried almost all of the solutions available on Stackoverflow like this, this & this but all in vein. I have attached screenshots

  1. Screenshot before adding dynamic line spacing

Screenshot before adding dynamic line spacing 2. Screenshot after adding dynamic line spacing

Screenshot after adding dynamic line spacing

Any help will be highly appreciated. Thanks in advance!

1 Answers
Related