So nobody has ever tried to do this before?

On Feb 9, 11:39 am, schwiz <sch...@gmail.com> wrote:
> Stepping through this code even more closely I found that the onDraw
> method isn't even being called at all despite the fact that every
> other view in the xml file is showing up custom and otherwise.
> However, this is the only view that inherits from LinearLayout all of
> the other just inherit from View.  Is there some special case or
> something extra I need to be doing?  Thanks.
>
> On Feb 9, 12:07 am, schwiz <sch...@gmail.com> 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, stepping
> > through the program in debugger I am sure those are being called but
> > the layout is still showing up empty,  Any advice would be helpful!
> > Here is my code to help clarifyhttp://pastebin.com/f571b278b
> > You may ask why I am not using a list view, and it is because I want a
> > very distinct style that goes with the rest of my app, especially the
> > black outline you see that I am drawing.
> > Thanks,
> > Nathan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to