commit | 07084924be4ce0dc67f150d77b886f21fcb01aa7 | [log] [tgz] |
---|---|---|
author | Vladislav Kaznacheev <kaznacheev@google.com> | Mon Mar 06 14:21:10 2017 -0800 |
committer | Vladislav Kaznacheev <kaznacheev@google.com> | Mon Mar 06 14:21:10 2017 -0800 |
tree | 44ef73ae38a749eb405960fd9d4019130a2ce805 | |
parent | e20f8fb5b4f39332d7a465f6b096d303ab4fadd9 [diff] |
Respect PopupWindow.setOverlapAnchor when above anchor Currently if a popup menu is shown above the anchor, it is anchored to the anchor's top edge regardless of the value of mOverlapAnchor. Fixing the vertical offset correction and the computation of the vertical space available above the anchor. Bug: 36000552 Test: android.widget.cts.PopupWindowTest#testOverlapAnchor Change-Id: Ifb71ff1fc0aa0df58e4919fd229c2623a2bcbe3d