There should only be one line of text displayed and multiple lines should be restricted. In cases where the string is long and going on the 2nd line, I need to trim it according to a particular logic.

I am working on android app using xamarin forms.

I know how to find the width of the device, but I can't figure out how to count the characters that will display on a single line.

0

There are 0 best solutions below