I have an input box – edittext in android, which is not single line. I want that when three lines are complete then the edittext should stop expanding and scrollview should attach to the edittext at that time.
I can add scrollview directly?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
use
android:maxLines="3"for yourEditTexttag in xml.