For the string like "View profile" Android
's Paint.breakText
(on KitKat) returns 11 characters instead of 12.
numberofchars = MyPaint.breakText ("View profile", // String text,
true, // boolean measureForwards,
8192, // float maxWidth,
null) // float[] measuredWidth)
It must return 12 chars in numberofchars
, not 11. It looks like it's because of the "fi" in "View profile".