Merge "Fix an incorrect display position of error popup in RTL layout"

am: b7941c50a0

Change-Id: I67578129771d0c7d52d5da63f24c2f0d6081ab57
This commit is contained in:
Siyamed Sinir
2017-12-12 04:15:03 +00:00
committed by android-build-merger

View File

@@ -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());
}