============ Problem Description ============
In the more buttons in the bottom menu, why Popupwindow.showatlocation (V, gravity.no_gravity, Location[0], Location[1]-popupwindow.getheight ( )); This code on the phone display menu is normal display, but in the simulator to click More Buttons, when the menu is displayed at the bottom of the menu with a display of the same height of a rectangle.
============ Solution 1============
If the frame code is different, the display effect is different.
============ Solution 2============
is the emulator and the real machine a level SDK?
============ Solution 3============
Reference 3 Floor Tatajciliang's reply:
How to see the simulator and the real machine is not a level of the SDK? I did not use any frame, that is, the phone appears normal, but the simulator to click More buttons, the menu can be displayed normally, but the menu at the bottom of a rectangle to display the extra area.
See what version of your simulator is.
Why does the popup menu appear different in the phone and simulator?