title: How to make edittext in Android scrollable?
body: <p>I am creating a dynamic layout that contains an edit text. I want to make this edit text scrollable.</p>
  
  <pre><code>questionEntry.setMaxLines(1);
  questionEntry.setVerticalScrollBarEnabled(true);
  questionEntry.setMovementMethod(new ScrollingMovementMethod());
  </code></pre>
  
  <p>Using this code I made my edit text scrollable. But the problem is when I am typing something. If it reaches the end of the edit text, it will stop typing my text and not automatically jump to the next line. If I press the enter key, it will jump. I want to make it automatic.</p>