ArminKH
Well-Known Member
hi erel
i think some times canvas return wrong values for MeasureStringWidth
i think when the text completely is fit in a view,then the width of text must be less or equal to width of view.is this wrong?
and if not please test attached sample
if every thing is right on your device please see attached screen shot(Tested on android 4.2.1 With 5" screen and density 1.5)
is there any way to measure string width by using reflection or other tools?
tnx erel
i think some times canvas return wrong values for MeasureStringWidth
i think when the text completely is fit in a view,then the width of text must be less or equal to width of view.is this wrong?
and if not please test attached sample
if every thing is right on your device please see attached screen shot(Tested on android 4.2.1 With 5" screen and density 1.5)
is there any way to measure string width by using reflection or other tools?
tnx erel