In the layout, I have a textview with height wrap_content. The text size is 10 sp. So I want to know the exact height of the text.
The reason that I want to know the height is, I want to use image span to display some bitmap images in the text view. And the decode method needs the target width and height.
Is it possible? Thanks.