Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Costum ListView?

Costum ListView?

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

Costum ListView?

Postby chaoz1336 » Tue Aug 25, 2009 9:48 am

Hi Guys,

afaik its not a huge prob to make a costum listview...

but is there any way to exchange a ScrollView by a listview?

cause atm I have a working layout with a tablelayout in a listview, using it generic...

but now I want to use a Listview instead without changing everything?

Does anyone have an idea?

Is there a simple codeExample of how to use a ListView in an existing Layout? (Without ListActivity!) ?

thx a lot in advance!
chaoz1336
Experienced Developer
Experienced Developer
 
Posts: 90
Joined: Wed Dec 10, 2008 5:19 pm

Top

Postby arams » Tue Aug 25, 2009 10:24 am

ArrayAdapter adap=new ArrayAdapter(context,android.R.layout.simple_list_item_1,String[] listelement);

lView.SetAdapter(adap);
arams
Experienced Developer
Experienced Developer
 
Posts: 89
Joined: Fri May 08, 2009 7:45 am

Postby chaoz1336 » Tue Aug 25, 2009 11:52 am

thx for the very fast reply arams, :D:D:D
but could u please get more detailed,
maybe with an working example?

that would be very very great =)

(espeacily wethr or how I can swap a srollview by a listview)
chaoz1336
Experienced Developer
Experienced Developer
 
Posts: 90
Joined: Wed Dec 10, 2008 5:19 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests