Eclipse cannot display Android design interface solution

Source: Internet
Author: User

This article describes how to display Android design aspects when using Eclipse to develop Android programs.

 

When developing Android programs using MyEclipse or Eclipse, clicking main. xml Design may not display the Design interface, but the view attribute interface, as shown in:

 

 

Res/layout/main. xml. Before the SDK and ADT are upgraded, This is the display interface. After the upgrade, click this file and switch to Design. The interface cannot be displayed, the attribute values of each view are displayed in a table! This is because sometimes the ADT and SDK versions are incompatible. So try to use the same version of ADT and SDK, and use the latest version of ADT.

 

Solution:

Close the main. xml, right-click the main in the left navigation bar. xml> "open with"> "Android Layout Editor", the process of opening is slow. You can see the design interface later. ^_^!

 

As shown in:

 

If the above method does not work, we need to open the layout file, close Eclipse/MyEclipse, and re-open it. The layout interface will be displayed during loading.

 

The above is a solution for loading the Android layout interface in Eclipse/MyEclipse.

Finally, I hope to reprint friends can respect the author's labor results, plus reprint address: http://www.cnblogs.com/hanyonglu/archive/2012/02/27/2369626.html thank you.

 

Complete. Pai_^

Related Article

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.