PopupWindow: Be more consistent about Gravity calculation.
am: 798fb79866
Change-Id: Ia7c49dbe2fbe751565d6c8be46586a66c535a148
This commit is contained in:
@@ -1547,7 +1547,7 @@ public class PopupWindow {
|
||||
}
|
||||
|
||||
// Let the window manager know to align the top to y.
|
||||
outParams.gravity = Gravity.LEFT | Gravity.TOP;
|
||||
outParams.gravity = computeGravity();
|
||||
outParams.width = width;
|
||||
outParams.height = height;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user