On Thu, Jan 13, 2011 at 9:04 PM, Toby <[email protected]> wrote:

> I want the power of the computer language at hand to allow me to create
> layouts dynamically.
>

If all your layouts are being created dynamically, this makes perfect sense.

If you're building relatively static layouts, why would you prefer coding it
up? Two major reasons for favoring XML being the visual aspect of seeing
your layout and keeping your code neater by eliminating tons of GUI set up
code.


> I've been scolded about that by one most learned participant of this list.
>  I don't see why.
>

I got a stinking feeling that was me ;-)


> I want to use the base language (here java) to create layouts.
>

Dude, it's your project - do whatever the hell you want!


> Why on earth does Google go for what I (Certainly Erroneously given the
> body of individuals to which I am now speaking) perceive to be an
> obsolete separation between Controller and View?
>

Probably because coding up (and more importantly *tweaking* GUIs) is a pain
in the ass if you have to edit code, build, and run just to see what your
changes will look like.

But hey, if that's the kind of things that really gives you kicks, who are
we to judge?

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to