Android ---- about the failure to manually set the Properties window of the basic control, android ---- Window

Source: Internet
Author: User

Android ---- about the failure to manually set the Properties window of the basic control, android ---- Window


When switching to the design interface, click the control and find that most of the attribute windows on the right are not editable.


Double-click the corresponding property to see an error prompt.



Double-click red X in the Message Column



Is a null pointer error prompted? Check the only property Text that can be edited. The possible cause is that the XML file can be opened only with a set value. Is this a BUG of ADT?



Solution: manually set a property value, as shown in figure


The property window can be set normally...



If you want to set attributes for such a twists and turns, you should set them directly in the XML code.



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.