File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes To the Authors: UI development Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "To the Authors: UI development" Watch "To the Authors: UI development" New topic
Author

To the Authors: UI development

Nidhi Sar
Ranch Hand

Joined: Oct 19, 2009
Posts: 252

Hi Satya & Dave,

As an Android developer, one of the most frustrating task I have found has been UI development. Even a slightly complex screen becomes a spaghetti code of Linear Layouts & Relative layouts with hardcoded values for height, width, margins. My iOS colleagues scoff at my efforts. Overheard on a Skype conversation between two opinionated iOS programmers "They have to design screens manually through XML? No wonder Android apps look so <expletive>" - true story!

So my question is - do you know of any good UI development tools for Android? Do you have any tips & does your book cover this?

Thanks,
Nidhi



"A problem well stated is a problem half solved.” - Charles F. Kettering
SCJP 6, OCPJWCD
Dave MacLean
author
Ranch Hand

Joined: May 10, 2011
Posts: 49

We tried to cover so much material in the book, but we didn't cover UI design tools per se. There's a brief mention of droiddraw (http://www.droiddraw.org) as a GUI tool for Android but the book doesn't cover it (no room). Droiddraw is a pretty popular tool though. The Eclipse plugin has a graphical UI designer that gets better with every release. When you get really serious about UI design, the Eclipse plugin has a number of tools that help a lot. For example the hierarchy viewer shows you a graphical representation of the structure of your UI, which can help uncover problems and inefficiencies. That's covered in the book. I took a look at Google's App Inventor for Android but found it difficult to learn.

We cover the XML side of things in pretty good detail: the layout managers, the control specs (buttons, views, lists, etc), styles and themes. That's chapter 6 and it's 72 pages. I didn't find working in XML all that terrible, but then I haven't used the iPhone tools so I may not know what I'm missing. I don't think bad UIs are a result of using XML however.

- dave

Dave MacLean our book (Pro Android 4)
 
jQuery in Action, 2nd edition
 
subject: To the Authors: UI development
 
Similar Threads
Question for Lucas Jordan & Pieter Greyling
why android ????
Android vs. iOS
iPhone simulators
Looking for part time work on Android and ios Application development