title: How do I set threshold to my EditText?
body: <p>Let's say when the user starts typing into the <code>EditText</code>, the autocomplete doesn't appear until the user has typed say maybe 20 characters?</p>
  
  <p>I've tried placing the following code into the layout XML file but it didn't work:</p>
  
  <pre><code>android:completionThreshold="20"
  </code></pre>
  
  <p>I've also tried this following one in the Java class but it didn't work either:</p>
  
  <pre><code>myedittext.setThreshold(20);
  // it says 'The method setThreshold(int) is undefined for the type EditText'
  </code></pre>
  
  <p><strong>Edited:</strong></p>
  
  <p>It appears that my question might be misunderstood so I would like to clarify:</p>
  
  <p>The user types a word into the editText. You know how auto-complete appears after 1 character or so? I don't want it to appear so soon... My aim is to make it appear only maybe after the user has typed a certain amount of characters... That's pretty much it. </p>
  
  <p>Apologies for the misunderstanding. Thank you.</p>