TreKing had given you the answer. If you wanna iterate the views, you may
use methods like getChildAt()

2010/5/4 Michael Scott <[email protected]>

> Well, I could I guess, but what I was looking for was a way to iterate
> through the views in a layout to do some common stuff to them. Say for
> instance that I would like to set the background for all buttons
> dynamically, then it would be neat to do it just after creation.
> Anyway, the question still is: why doesn't onCreateView() get called?
> /Michael
>
>
> On 3 Maj, 01:34, TreKing <[email protected]> wrote:
> > On Sun, May 2, 2010 at 2:39 PM, Michael Scott <[email protected]>
> wrote:
> > > I have an Acitivity and I would like to fiddle with the views upon
> creation
> >
> > Can't you just findViewById(int) for whichever view you want to fiddle
> with
> > and set whatever properties you want on if after you get it? After
> calling
> > setContentView() of course.
> >
> >
> ---------------------------------------------------------------------------­----------------------
> > TreKing - Chicago transit tracking app for Android-powered deviceshttp://
> 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]<android-developers%[email protected]>
> > For more options, visit this group athttp://
> groups.google.com/group/android-developers?hl=en
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
---
Thanks

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