title: Set maximum number of text lines for an EditText
body: <p>Is there a way of specifying the maximum numbers of lines for an <code>EditText</code>? By that I mean all the lines of text, not only the visible ones (as <code>the android:maxLines</code> attribute is described). The lines number must not be 1, so <code>android:singleLine</code> is not an option.</p>