title: Android EditText Multiline does not work as it should
body: <p>I'm pretty desperate about this feature.
  I tried pretty much everything there is to find to made these EditTexts multiline enabled,
  but they just keep going on a single line scrolling the entire EditText with it.</p>
  
  <p>How hard can it be to stop at the end of the border of the EditText and move to the next line?</p>
  
  <p>I have this activity with an EditText and 2 buttons. One of these buttons adds a predetermined line of text to the EditText. The other puts the EditText's text into some form of object that I use later in the app.</p>
  
  <p>However I can't get this multiline feature to work.. I've tried limiting the size. Setting the multiline flag. Disabling singleline. Giving lines, and minLines a random number (10).
  Disabling horizontalscroll on the EditText. But nothing works....</p>
  
  <p>Can anyone tell me what the hell I'm doing wrong? And how I can fix this horrid abomination of an EditText.</p>
  
  <p>This is how my nightmare looks like now.</p>
  
  <pre><code>    &lt;EditText
          android:id="@+id/callofedittext"
          android:layout_width="wrap_content"
          android:inputType="textMultiLine"
          android:width="300dp"
          android:minLines="10"
          android:layout_height="wrap_content"
          android:gravity="top|left"
          android:textColor="@color/textWhite"
          android:background="@color/textBlack"
          android:paddingLeft="3dp"
          android:singleLine="false"
          android:scrollHorizontally="false"
  
          &gt;
  
          &lt;requestFocus /&gt;
      &lt;/EditText&gt;
  </code></pre>
  
  <p>It haunts my dreams...</p>
  
  <p>EDIT: > Light at the end of the tunnel.</p>
  
  <p>While I was focussing on the xml.. A new clean project pointed out to me that <code>EditText textMessage = (EditText)findViewById(R.id.callofedittext); textMessage.setInputType(InputType.TYPE_TEXT_FLAG_MULTI_LINE | InputType.TYPE_TEXT_FLAG_CAP_SENTENCES);</code> is causing all of my problems. Not specifically the properties inside the xml.</p>