Re: [android-developers] Question concerning View creation

2010-05-04 Thread Second Dancer
LayoutInflater is used to inflat layout of xml. You can create view just like constructing a common object, like Button btn = new Button(context); 2010/5/4 TreKing treking...@gmail.com On Mon, May 3, 2010 at 1:14 PM, Patrick patrick.manges...@gmail.comwrote: Is there a way to create such a

[android-developers] Question concerning View creation

2010-05-03 Thread Patrick
Hallo! I'm currently implementing ExtanableListAdapter extending the ... . The method getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) of the interface returns a View. Is there a way to create such a view out of a layout.xml file? Or is

Re: [android-developers] Question concerning View creation

2010-05-03 Thread TreKing
On Mon, May 3, 2010 at 1:14 PM, Patrick patrick.manges...@gmail.com wrote: Is there a way to create such a view out of a layout.xml file? Yes, use LayoutInflater. - TreKing - Chicago transit