14 Dec 2012, 17:09
Generic-user-small

Jim Jarrett (1 post)

I found the ADT Eclipse/SDK bundle, and it comes with a decent-looking UI editor.

I’ve tried to adapt it to the examples in the book, but the tool is not a very good XML editor; it gets all “weird” when I try to edit the raw XML (the edits won’t take, I can’t copy/paste from the book into the window…)

If I edit the XML outside Eclipse, it seems to work.

What I really wanted to try was the graphical elements, but the default Layout was a RelativeLayout, not a LinearLayout like the book has, and I found no way to change that.

Anyone had any success with this toolkit?

18 Jan 2013, 13:29
Generic-user-small

Gerry Miller (2 posts)

Hi Jim, I managed to change RelativeLayout to LinearLayout in the activity_main.xml file, and that worked fine. I would recommend installing as suggested in Chapter 1 of the book. I did it that way, and had no problem editing the xml files.

14 Apr 2013, 02:08
Burnette_ed_pragsmall

Ed Burnette (1316 posts)

I stayed away from the UI editor for a long time because of this exact problem. Fortunately, in the most recent release the UI editor has improved immensely. I use it about half the time now, and the other half I go back to the XML.

  You must be logged in to comment