I have a notebook application and I want to limit my editText maximum lines according to the screen height. for example 40 lines in nexus-6p and 35 lines in nexus5 and etc.
So my question is how can I limit the editText lines? I don't have any idea for this.
UPDATE
I want to create new note page when cursor reached the last line.