Using XML

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Using XML

Postby radhika » Wed May 21, 2008 2:44 pm

Hi plusMius,

The iconified list tutorial is great.
But i have a problem.

I want to have an xml file where i define other components like textview,button,etc,
At the same time i want to implement this iconified list.

When i give the setContentView it shows an run time error saying that the contentmust have a listview whose id attribute is R.id.List.

So how do i use XML and this java code together for Iconofied list.

Please reply....

Thanks in advance.
Thank you
Regards
radhika
Desire to learn
radhika
Junior Developer
Junior Developer
 
Posts: 12
Joined: Wed May 14, 2008 8:09 am
Location: India

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 5 guests