SyntaxFix
Write A Post
Hire A Developer
Questions
do you called the ViewTreeObserver and not remove it.
mEtEnterlive.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() { // do nothing here can cause such problem });