Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (retired 2014) Pretty Little Things Customizing Buttons and Labels

Joyce Nessif
PLUS
Joyce Nessif
Courses Plus Student 3,907 Points

Properties Locked for Editing

While following along with the Customizing Buttons and Labels video, Eclipse is not allowing me to edit the properties for Text Size, etc. I have not found a way to unlock those properties fields. Can you be advise me how to do it? Thanks

5 Answers

JT Keller
JT Keller
12,731 Points

There were a couple of Android ADT bundles/versions over the last few months that have or do exhibit that bug. You can try upgrading your current ADT or use workarounds like right-clicking or directly editing the XML if you'd rather not upgrade at this time.

Paul Stevens
Paul Stevens
4,125 Points

Hello,

A few people have had problems with being unable to edit the properties of things, including myself. The common answer that seems to work is to install API 18 in the SDK manager and use that in the layout editor. Here are a few forum links that might help with your problem.

https://teamtreehouse.com/forum/customizing-buttons-and-labels-3

https://teamtreehouse.com/forum/properties-of-the-button-not-changing

https://teamtreehouse.com/forum/properties-isnt-editable-need-api-18

https://teamtreehouse.com/forum/having-trouble-editing-properties

https://teamtreehouse.com/forum/task-list-errors-and-outline-properties-not-editable

Hopefully one of those will help you, if I have understood your problem correctly.

Paul :)

I am working through this problem as well. Now to find out the specifics to install API 18.

Paul Stevens
Paul Stevens
4,125 Points

Hi Matthew,

You can install API 18 using the SDK manager. There may be an icon for it on your toolbar, or you can go to the menu bar at the top of Eclipse and choose "window", and then choose "Android SDK Manager". You can install the API's from there.

Paul :)

Joyce Nessif
PLUS
Joyce Nessif
Courses Plus Student 3,907 Points

I upgraded the ADT to v22.6. Now the properties are editable.