title: How to disable auto-complete and auto-correct of EditText
body: <p>I would like to disable auto-complete and auto-correct in my editText field. I found this solution which disabled everything: </p>
  
  <pre><code>this.setInputType(this.getInputType() | EditorInfo.TYPE_TEXT_FLAG_NO_SUGGESTIONS
              | EditorInfo.TYPE_TEXT_VARIATION_FILTER);
  </code></pre>
  
  <p>That is fine but now I need to change my keyboard from normal alpha numeric to email. Unfortunatelly function above removes this option. When I remove parameter EditorInfo.TYPE_TEXT_VARIATION_FILTER, I can set an email keyboard but auto-complete is back as well. </p>
  
  <p>How can I disable auto-correct/complete and have email keyboard at the same time?</p>