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 <treking...@gmail.com> wrote: > On Sun, May 2, 2010 at 2:39 PM, Michael Scott <gebat.s...@gmail.com> 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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > 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 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