On Tue, Feb 9, 2010 at 12:07 AM, schwiz <[email protected]> wrote:

> Hello I have a linear layout that I have overridden because I want to
> dynamically add other views to it.  I am trying to add some textviews
> to it and I call addViewToLayout in the onLayout method
>

Can't you just add your views to the layout using addView()? I have one
custom LinearLayout and this is what I do and it works fine. No need to
override onLayout() or onDraw(). Maybe try that?

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

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