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

am: 0863cf4e40

Change-Id: Ief495fcc7e6f711696ed6337ab65face9d03c981
This commit is contained in:
Siyamed Sinir
2017-12-12 04:25:54 +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());
}