SyntaxFix
Write A Post
Hire A Developer
Questions
You could use the android.text.StaticLayout class to specify the bounds required and then call getHeight(). You can draw the text (contained in the layout) by calling its draw(Canvas) method.
android.text.StaticLayout
getHeight()
draw(Canvas)