well, i really support your philosophy of "*time is best spent on learning 
the right way to do something - 
rather than learning to do it wrong and then un-learning*".

i gave a pseudo-code of just the problematic part of my application 
activity....... the real application i am working is actually way more 
complex and it has several embedded layouts one inside another for various 
features of the app........ hence i have used XML layouts - because i find 
using XML layouts kinda easier to use.

i believe XML layouts are more WYSIWYG kinda stuff and more easily 
extensible and changeable in the future with lesser code revision......... 
rather than declaring layouts programatically which are hard to visualize 
until the app is deployed in an emulator or a device. Now, coming back to 
learning the right way to do something......... if i am using XMLlayouts, is 
using the onWindowFocusChanged() method an inappropriate idea?

i am new to android...... i am still learning :) :)

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