I have a custom view and I'm trying to draw some text centered, but when the text is too long, it truncates inserting an ellipsis character. I need the text to automatically break the line if the text doesn't fit in my custom view, so I will never miss any text.

any ideas on how to do this?