Merge "Fix an incorrect display position of error popup in RTL layout"
am: b7941c50a0
Change-Id: I67578129771d0c7d52d5da63f24c2f0d6081ab57
This commit is contained in:
@@ -493,7 +493,8 @@ public class Editor {
|
||||
chooseSize(mErrorPopup, mError, tv);
|
||||
tv.setText(mError);
|
||||
|
||||
mErrorPopup.showAsDropDown(mTextView, getErrorX(), getErrorY());
|
||||
mErrorPopup.showAsDropDown(mTextView, getErrorX(), getErrorY(),
|
||||
Gravity.TOP | Gravity.LEFT);
|
||||
mErrorPopup.fixDirection(mErrorPopup.isAboveAnchor());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user