How to set maximum characters per line for text view in android
android
Solution
Using
android:maxWidth="size"
Replace the "size" with the size you prefer. For example, `100dip`.
Problem
Hiii all, this may be a possible duplicate but I couldn't find solution for my problem.I need to limit the number of characters per line when displaying on the textview and display the remaining characters in the next line.I cannot set ems value and I also tried setting maxLength attribute in xml but it is not displaying the remaining characters,Can any one tell me how can I do it.