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
[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 - Is it possible to implement ListView without any layout XML?

Is it possible to implement ListView without any layout XML?

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

Is it possible to implement ListView without any layout XML?

Postby suresh » Sun May 31, 2009 8:49 am

Hello all,

Is it possible to implement ListView without using any XML layout? Any hint would be useful.

Regards
Suresh
Learning android
suresh
Freshman
Freshman
 
Posts: 3
Joined: Fri Apr 24, 2009 7:35 am
Location: Nepal

Top

Postby iPaul Pro » Sun May 31, 2009 12:56 pm

Yes there is. It involves using "android.R.layout.simple_list_item_1". The most common usage is within a SimpleCursorAdapter. Refer to this thread for an example.
iPaul Pro
Developer
Developer
 
Posts: 33
Joined: Sun Mar 15, 2009 9:01 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 17 guests