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