Store the original in a string then break the original string down into three parts using string.substring() ?
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Grzegorz Ae Sent: Thursday, July 29, 2010 1:53 PM To: Android Developers Subject: [android-developers] Split line of text into few lines Hi, I'm wondering how can I split single line text into few lines. I need it for game. I want to make it in canvas. It will be notification popup, but sometimes text is too long (I draw text canvas.drawText()), and I need to split it and draw in few lines in rows. Anyone knows a good solution? I saw methods mPaint.measureText() or TextUtils.split(), but it isn't so good in my case. Is there other method? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

