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 - ListActivity

ListActivity

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

ListActivity

Postby Txorl » Wed Jun 10, 2009 1:18 pm

Hello

I am using a ListActivity in one of my projects and i would like to add a background image to this Activity.

This is what i have done so far on my onCreate method:
this.getWindow().setBackgroundDrawable(this.getResources().getDrawable(R.drawable.background));

and it work´s fine.. but the problem appears when i scroll through the list.
Then a black background appears until the list stops scrolling. Then the background png file is shown again.

Does someone know how I could add the background to my ListActivity so that it stays permanently?

Thanks in advanced

Txorl
Txorl
Junior Developer
Junior Developer
 
Posts: 16
Joined: Wed Sep 17, 2008 3:12 pm

Top

Postby jerry » Thu Jun 11, 2009 8:50 am

you can add imagebutton with your backimage
jerry
Freshman
Freshman
 
Posts: 2
Joined: Fri Jun 05, 2009 11:48 am

Postby ashish » Thu Jun 11, 2009 9:31 am

just set your listview property "cache color hint to #00000000"

cheers :wink:
ashish
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Fri Feb 20, 2009 8:09 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 7 guests