title: Android AutoCompleteTextView is overlapping while typing suggestion list
body: <p>I am trying to implement HashTag and mention by using AutocompleteTextview. It is working fine.</p>
  <p>Depends on the entered keyword I am setting adapter in AutocompleteTextview. For that, I am using TextWatcher. It is showing the result. Till this working fine. But when I am typing the suggestion list is overlapping.</p>
  <p>In the image, black Shadow is because of multiple pages. The number of pages is increasing when text in AutocompleteTextview is changing.</p>
  <pre><code>   autoCompleteTextview.addTextChangedListener(new TextWatcher() {
          @Override
          public void beforeTextChanged(CharSequence s, int start, int count, int after) {
  
          }
  
          @Override
          public void onTextChanged(CharSequence s, int start, int before, int count) {
              if (s.toString().startsWith(&quot;@&quot;)) {
                     setupTagUserAutocomplete(data);
                 } 
              else if (s.toString().startsWith(&quot;#&quot;)) {
                  setupHashAutocomplete(list);
              }
          }
  
          @Override
          public void afterTextChanged(Editable s) {
  
          }
      });
  </code></pre>
  <p>How to avoid this?</p>
  <p><a href="https://i.stack.imgur.com/UFC6k.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UFC6k.jpg" alt="enter image description here" /></a></p>