title: Android: Error popup on EditText doesn't move down when keyboard goes away
body: <p>I have an activity that displays a few EditTexts on screen for user input. To be sure the soft keyboard doesn't cover my fields when it displays I have set the property</p>
  
  <pre><code>android:windowSoftInputMode="adjustPan"
  </code></pre>
  
  <p>for my Activity in the manifest. I am validating the EditText's content when 1. The view loses focus 2. When the user performs the 'Enter' action. Upon validation, if the value is not valid I am calling </p>
  
  <pre><code>setError(CharSequence error)
  </code></pre>
  
  <p>on the EditText, which causes a popup to display containing the error I passed in. The problem is if the EditText is moved up when the soft keyboard displays, and the popup is displayed at that time (validation has failed), the popup doesn't follow the EditText down when the keyboard goes away, it stays where it was first displayed.</p>
  
  <p>Any ideas on how to fix this? Is this a bug in Android?</p>