android - How to avoid extra blankline in a textview while using \n to separate two sentences? -


we have developed handwriting app display words in 3 lines , 4 lines in upper , lower cases.

we separating uppercase , lowercase 'end of line' (\n) in cases when uppercase word right on far right side edge, there no room \n character occupy automatically occupy nextline , result in line in between uppercase characters , lowercase characters.

any appreciated.

try check if text fill whole line (for example symbols equal specific number) , if yes => no new line (\n), else => new line before lowercase


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -