Android, activity is not recreated on soft keyboard visibility change
<p>When the software keyboard appears/disappears my activity is not restarted. Why is this? I have not done anything to handle these events myself, as described here: <a href="http://developer.android.com/guide/topics/resources/runtime-changes.html#HandlingTheChange" rel="nofollow">http://developer.android.com/guide/topics/resources/runtime-changes.html#HandlingTheChange</a></p>

<p>I have not overridden onConfigurationChanged or declared android:configChanges in the activity entry in the manifest. I even tried setting android:configChanges="" in the manifest, but it does not help.</p>

<p>Edit: could it be my listview is catching the event, because I have enabled filtering?</p>

<p>Edit: disabling text filtering did not fix it.</p>

<p>Stack overflow is being a bitch and saying I don't have enough karma to answer, so i'll do it here:
The solution is to use <a href="http://developer.android.com/reference/android/view/View.html#onSizeChanged%28int,%20int,%20int,%20int%29" rel="nofollow">http://developer.android.com/reference/android/view/View.html#onSizeChanged%28int,%20int,%20int,%20int%29</a> as the activity is not supposed to restart.</p>
