Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android eclipse editor: Unable to edit properties

I'm facing a strange and productivity destroying problem since this morning. Properties with no pre filled attributed can't be edited trough the properties editor. (Margins for example) I need to switch between the view and XML editor every time to made even the smallest change in the world, cause I can only change it from the XML.

I tried everything (Restarting eclipse, every click combos in fields etc...). Really annoying.

The properties editor:

enter image description here

UPDATE: Sound like a problem related to Mountain Lion, so we have to wait for an ADT plugin update ?

like image 928
Dimillian Avatar asked Jul 20 '12 12:07

Dimillian


4 Answers

Same problem with ADT v22.3.0-887826

Fixed after rechange current API verion in top of XML editor (Green robot spinner). I choosed API 18 instead 19. All is work.

like image 161
kaftanati Avatar answered Nov 10 '22 05:11

kaftanati


I've just had the same issue with ADT 22.3 in Eclipse on OS X Mavericks.

Doesn't seem to be related to OS version, just change open the view in the layout editor and change the Android version (next to the green Android robot icon in the toolbar) to a lower version and it should re-render the layout for a lower API Level and you should find it works fine.

If it still doesn't work, try an even older version and retry.

like image 21
Jonathan Ellis Avatar answered Nov 10 '22 06:11

Jonathan Ellis


This is a limitation in the new property sheet introduced in ADT 20.

We've improved it in ADT 21, and if you download Preview 4 (released yesterday) you can see the new behavior. Here's the fix: https://android-review.googlesource.com/#/c/42238/

Here's ADT 21 preview: http://tools.android.com/download/adt-21-preview

-- Tor

like image 38
Tor Norbye Avatar answered Nov 10 '22 06:11

Tor Norbye


switch to Android-18(or lower) in Graphical Layout (green Android top-right)

like image 30
Oubaida AlQuraan Avatar answered Nov 10 '22 06:11

Oubaida AlQuraan