What's the deal with the custom layouts? I implemented a custom layout
class and began defining xml layout using my new class. Than I
realized that I can't just add the child views that way one can add
views to the predefined layouts. I had to do it manually modifing the
xml.

Than I found out that the onMeasure/onLayout methods were getting
wrong getMeasuredHeight/getMeasuredWidth results. Why??????? (I realy
feel like cursing here but what's to point.)

On the other hand, If I do all of it programatically, instantiate  the
layout object in the activity and add the child view to it, all works
fine.  Any Ideas?

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