title: EditText stops displaying characters as I type?
body: <p>Basically what happens is I will start typing on the keyboard (stock and third party), and all of a sudden it stops showing characters I type in the EditText, (sometimes) resets the caret to the beginning, yet I know I'm still typing because the suggestions box shows the characters as I type.  I've experienced the behavior on at least 5 different devices as well as the emulator but can't seem to nail down a solution.</p>
  
  <p>It is seemingly random; I'm not reading any error logs through DDMS from the system, so I'm a little baffled.</p>
  
  <p><a href="http://i.stack.imgur.com/gsB49.png" rel="nofollow">Here is what it looks like</a></p>
  
  <p>Here is the XML layout of the EditText:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"&gt;
  
  &lt;ListView android:id="@android:id/list"
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content"
      android:layout_weight="1"
      android:transcriptMode="alwaysScroll"/&gt;
  
  &lt;EditText android:id="@+id/etMain"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:inputType="text|textAutoCorrect"
      android:imeOptions="actionSend"&gt;
          &lt;requestFocus /&gt;
      &lt;/EditText&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>And here is my code from the Activity:</p>
  
  <pre><code>    et = (EditText) findViewById(R.id.etMain);
  
      et.setOnEditorActionListener(new OnEditorActionListener() {
          @Override
          public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
              if ((event != null &amp;&amp; (event.getKeyCode() == KeyEvent.KEYCODE_ENTER)) || actionId == EditorInfo.IME_ACTION_SEND) {
                  String sendText = v.getText().toString();
  
                  if (sendText.length() &gt; 0) {
                      v.setText("");
  
                      ....
  
                      }
                  }
                  return true;
              }
  
              return false;
          }
      });
  </code></pre>
  
  <p>Appreciate any insights on how to fix this issue. Let me know if you need anything else...</p>
  
  <p>Thanks!</p>
  
  <p><strong>EDIT:</strong> It almost seems like the inputmethod is disconnecting from the EditText in the middle of an edit.  <em>Sometimes</em> I will get this warning when it happens: WARN/IInputConnectionWrapper(1035): endBatchEdit on inactive InputConnection</p>