For an Assignment I have to implement an App that simplifies SMS writing, eg. for elderly people.
What im am now trying to do is:
I have an EditText that need to be limited to 5 lines and 255 Characters total.
Both constraints have to be met. Meaning the person can write 255 of any character but if he/she gets to the end of the 5th Line, no matter how much under 255 characters he/she is, the EditText should not write anything out. Same shoudl happen if he hits 255 characters in the second line.
I hope i could make clear what i need.
Thanks in advance for any help!
Ps. I know simply not responding is a bad practice, but i just want this to work, i will figure out a way to notify the user afterwards by myself.