well, I've managed to fit all my questions in the title. I need to break a long text in to columns/frames and layout them in to view. I've been digging for solutions for a couple of days now, but I can't find any examples or clear documentation on how to complete any of my tasks. I've seen a some mentions of StaticLayout, but I don't know how to use it properly. As for text height I've tried TextPaint's getTextBounds method, but it doesn't have width limit and it looks like it measures only single line (well, maybe I was doing something wrong).
Maybe someone has an example of StaticLayout or it's subclass usage?
Everything looks so simple "on paper": create "frame", check how much characters fits in it, fill frame and position it, repeat until end of text and yet I can't find anything on how to do this :)