title: keyOutputText attribute on a custom KeyboardView doesn't output any text
body: <p>I'm trying to make a custom keyboard but it's not outputting the text value I set in <code>keyOutputText</code> on the <code>Key</code> node.</p>
  
  <p>Here's <code>activity_main.xml</code>:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:paddingBottom="16dp"
      android:paddingLeft="16dp"
      android:paddingRight="16dp"
      android:paddingTop="16dp"
      tools:context=".MainActivity"&gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Hello World!" /&gt;
  
      &lt;EditText
          android:layout_width="match_parent"
          android:layout_height="match_parent" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Here's the keyboard layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
      android:horizontalGap="0px"
      android:keyHeight="60dp"
      android:keyWidth="15%p"
      android:verticalGap="0px"&gt;
  
      &lt;Row&gt;
          &lt;Key
              android:keyLabel="test"
              android:keyOutputText="test" /&gt;
      &lt;/Row&gt;
  &lt;/Keyboard&gt;
  </code></pre>
  
  <p>Here's the Java class:</p>
  
  <pre><code>import android.inputmethodservice.InputMethodService;
  import android.inputmethodservice.Keyboard;
  import android.inputmethodservice.KeyboardView;
  import android.view.View;
  import android.view.inputmethod.InputConnection;
  
  public class TestKeyboard extends InputMethodService implements KeyboardView.OnKeyboardActionListener {
  
      private KeyboardView kv;
      private Keyboard keyboard;
  
      @Override
      public View onCreateInputView() {
          kv = (KeyboardView) getLayoutInflater().inflate(R.layout.keyboard, null);
          keyboard = new Keyboard(this, R.xml.keyboard);
          kv.setKeyboard(keyboard);
          kv.setOnKeyboardActionListener(this);
          return kv;
      }
  
      @Override
      public void onPress(int primaryCode) {
      }
  
      @Override
      public void onRelease(int primaryCode) {
      }
  
      @Override
      public void onKey(int primaryCode, int[] keyCodes) {
      }
  
      @Override
      public void onText(CharSequence text) {
  
      }
  
      @Override
      public void swipeLeft() {
  
      }
  
      @Override
      public void swipeRight() {
  
      }
  
      @Override
      public void swipeDown() {
  
      }
  
      @Override
      public void swipeUp() {
  
      }
  }
  </code></pre>
  
  <p>I haven't really found any great tutorials on this so I'm not sure if I haven't implemented any code that I'm supposed to? I'll provide more code and resources if necessary. Everything works fine, the app builds and launches and I can set my current keyboard to this one, but nothing happens when I actually press the key. It responds as if I pressed it but no text is outputted.</p>