title: onKeyPreIme does not call
body: <p>I have a custom view that inherites <code>LinearLayout</code> and that view is in a <code>ViewSwitcher</code>. I want to return to previous view on Back pressed, So i overriden the <code>onPreKeyIme</code> in this view but when i press Back, it doesnt seem to enter the method, and the activity handles the Back.</p>
  
  <p>What am I missing?</p>
  
  <pre><code>@Override
  public boolean onKeyPreIme(int keyCode, KeyEvent event) {
      if(keyCode == KeyEvent.KEYCODE_BACK)
          return viewModel.backClicked();
      return super.onKeyPreIme(keyCode, event);
  }
  </code></pre>
  
  <p>I have a breakpoint in the if-statement and it never freezes there.</p>
  
  <p>PS, I'm not allowed to use fragments.</p>