Android Question Canvas.MeasureStringWidth

ykucuk

Well-Known Member
Licensed User
Longtime User
Hi

Canvas.MeasureStringWidth doesn't work when text is long or include CRLF

Any help?
 

ykucuk

Well-Known Member
Licensed User
Longtime User
I am trying to create chat bubble. I need to change the width of bubble according to text length.
 
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
StringUtils.MeasureMultilineTextHeight is work fine.

What I want to to do: message "ok" and "how are you" should be the different width. I need calc this width.
 
Upvote 0
Top