title: Edittext won't loose focus on backpressed
body: <pre><code>@Override
  public void onBackPressed() {
      if (text_editor_edit.hasFocus()) {
          text_editor_edit.clearFocus();
      } else {
          super.onBackPressed();
      }
  }
  </code></pre>
  <p>It takes two back-press two get the editText  out of focus.
  Is there a way to use only one back-press to get editText out of focus?
  I tried checking if the keyboard is open and on back press apply the same logic as above ,but not working.
  Thank You!</p>