Merge \\"Only clip PopupWindow in the vertical direction\\" into nyc-dev am: 4b736ea56d
am: a2beb44834
Change-Id: I554dcbd9eb011d84a61d49b0d48818d1e9905c00
This commit is contained in:
@@ -1396,7 +1396,7 @@ public class PopupWindow {
|
||||
private int computeGravity() {
|
||||
int gravity = Gravity.START | Gravity.TOP;
|
||||
if (mClipToScreen || mClippingEnabled) {
|
||||
gravity |= Gravity.DISPLAY_CLIP_VERTICAL | Gravity.DISPLAY_CLIP_HORIZONTAL;
|
||||
gravity |= Gravity.DISPLAY_CLIP_VERTICAL;
|
||||
}
|
||||
return gravity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user