[android-developers] Re: Is it possible to load a view from an XML file, but only to store it to a variable?

2008-04-06 Thread NTR
Ah, thanks a lot! Dan U. wrote: > I think you should look at the docs for ViewInflate. > > On Apr 5, 6:25 pm, NTR <[EMAIL PROTECTED]> wrote: > > I see there's a Resources.getView-method, but it returns an > > XmlPullParser, and I have no idea what to do with it. The Views take > > an AttributeSet

[android-developers] Re: Is it possible to load a view from an XML file, but only to store it to a variable?

2008-04-05 Thread Dan U.
I think you should look at the docs for ViewInflate. On Apr 5, 6:25 pm, NTR <[EMAIL PROTECTED]> wrote: > I see there's a Resources.getView-method, but it returns an > XmlPullParser, and I have no idea what to do with it. The Views take > an AttributeSet and a "Map inflateParams". What should I pa