Why does the popup menu appear different in the phone and simulator?

Source: Internet
Author: User

============ 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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.