XML is used to be able to have resources for different configurations:
landscape, portrait, high dpi, French, etc. It has nothing to with
being "hip and trendy."

> It also can't be especially efficient to use findViewById
> (whether BFS or DFS based) constantly?

Use it once and keep the result in a variable :)

> Which also leads me to wonder how come Android uses the old type-
> unsafe int enum pattern

Because enums are very costly.

> and also, why method chaining isn't used to
> greater effect.

That's a very vague statement. Where should it be used more?

-- 
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 Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to