title: Android Programming: How to draw multiline text in a rectangle?
body: <p>I've seen many posts dealing with similar problems but none of them worked for me. In <code>Canvas</code>, I have a rectangle of size, let's say, 200px by 200px, and I want to write text in this rectangle. The text doesn't need to fill the entire rectangle, but the important thing is that there should automatically be a line break when it reaches the end of the rectangle. How can I do this in Android?</p>