Fix suggestion popup for RTL text on LTR layout.

By setting width to the ListView, the width of the containing text view
won't match with parent.

I locally verified this doesn't revive issue 27341560.

Bug: 28034210

Change-Id: I67886a752ef110d3433dddd6aa8447a9027f8e19
This commit is contained in:
Seigo Nonaka
2016-04-07 16:23:21 +09:00
parent d119ab94c0
commit 1d3efb6f64

View File

@@ -3462,7 +3462,6 @@ public class Editor {
popupBackground.getPadding(mTempRect);
width += mTempRect.left + mTempRect.right;
}
mSuggestionListView.getLayoutParams().width = width;
mPopupWindow.setWidth(width);
}