Casper, "It's my humble opinion that all the above books favors XML layout a bit too much, as it makes examples harder to read/type - and lets face it, it's limited how complex a layout will be on such a small screen anyway."
They do and rightly so. We already told you why. The XML layouts are stored as resources and can therefore be adapted to the configuration of the device, which is much more complicated to do with code. XML also gives you much easier way to use different types of units (sp, dip, pt, in, mm, etc.) I understand you dislike XML but the point is not about XML, it's about easily supporting various devices and configurations. I come from 10+ years of coding GUIs by hand and I was also repelled by the XML layouts at first but after realizing the flexibility they offer I quickly changed my mind. I certainly would not go back to writing all the GUI code by hand. That said, feel free to write you GUIs without using the XML layouts. Just don't go on a war against them just because it's XML. On Fri, Aug 14, 2009 at 9:00 AM, Casper Bang<[email protected]> wrote: > > I second the recommendation for Mark Murphy's books. I wish I had > known about these before investing in other ones. Small mini-review to > explain why on my blog: > http://coffeecokeandcode.blogspot.com/2009/08/android-books-review.html > > /Casper > > On 14 Aug., 08:42, Barry Wei <[email protected]> wrote: >> could anyone send me some e-book about develop android application? >> >> thanks a lot. > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

