I can do this programmatically, but it is really inefficient, and also time consuming if I ever need to do it for multiple TextViews.
I want a TextView to go to a new line after 15 characters, every 15 characters. I tried using android:maxLength="15"
but that just stopped the string at 15 characters. No new line or anything.
Use android:maxEms
to specify a maximum amount of characters in conjunction with android:singleLine="false"
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With