Phone screen adapter encounters a virtual key problem

Source: Internet
Author: User

============ Problem Description ============


Recently do a mobile phone adaptation, suitable for 800*480 mobile phone, but the batch test found several mobile phones are also 800*480, but the interface element dislocation, the screen is really 800*480, but there are virtual keys, accounted for dozens of of pixels. The resolution taken out by the program is 782*480. A situation like this does not have to be adapted to this 782*480, or there is no good way to solve the problem. Because you may face a lot of mobile phone customers, do not know if there is no virtual key.
Please express your views. Thank you.

============ Solution 1============


You want this apk to be accurate to pixel?

============ Solution 2============


Step back, if the 18 pixel height will affect the LZ program, then this layout design may be less or less reasonable.
In turn, the virtual key is essentially a virtual back, home, Menu key bar. The height of this virtual key is standard, that is fixed, if the layout is not moving at present, can only be designed to adapt to the layout with the virtual key to determine the reading.

============ Solution 3============


That is not the height of the virtual button, it should be the height of the notification bar. Dynamic access to the wide screen in the program can solve the problem of exhaustion

Phone screen adapter encounters a virtual key problem

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.