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 - disabling scroll bar

disabling scroll bar

Quickly share your Android Code Snippets here...

disabling scroll bar

Postby joby.nk » Tue May 26, 2009 11:24 am

Hi all i need to know how to remove the scrollbar for a ListView.

i created a ListView like

1) ListView listView = new ListView(context);

and i add an adapter in to the listView

2)listView.setAdapter(listAdapter);// here listAdapter is an adapetr

when the size of list adapter is greater than one scrolbar comes automatically,but i want to remove the scrolbar.

Anybody can help me to fix this problem
joby.nk
Junior Developer
Junior Developer
 
Posts: 13
Joined: Thu Jan 29, 2009 1:22 pm
Location: INDIA

Top

Postby albertma » Wed Jun 10, 2009 9:49 am

how about set the adapter to null?
albertma
Freshman
Freshman
 
Posts: 3
Joined: Mon May 18, 2009 8:18 am

Top

Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 4 guests