11
I’m working on an android app and at some point I get a string from a web-service that is quite large, and the client wants this String (which will be shown in a Edittext) be divided into multiple parts, forming like a pagination (thought to use a Viewpager to do this navigation).
Well, but the problem is that I don’t know how I can do this "string break" based on the size of the screen, without there being any scroll , or a word being cropped and using as much screen as possible. Not to mention that the font size will be customizable as well, and the user can increase/decrease the font at any time. And all this treatment has to be done dynamically, because this returned string is never the same.
Does anyone have any suggestions?!
That’s a great question
– Wellington Avelino