When I\'m using edittext.setError(\"enter a comment\") in android, it works fine until the keyboard suggestions come up and the error gets pushed above the
edittext.setError(\"enter a comment\")
Another solution : Adding android:windowSoftInputMode="adjustResize" on activity tag in AndroidManifest.xmlcorrected the issue for me
android:windowSoftInputMode="adjustResize"
AndroidManifest.xml