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
[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 - ListView selector color and view(in listview backgroundcolor

ListView selector color and view(in listview backgroundcolor

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

ListView selector color and view(in listview backgroundcolor

Postby chidkido » Mon Mar 02, 2009 8:57 am

I have layout name MyLayout extends LinearLayout for contain a lot of view
and show my layout in listview(via my custom adapter)

:P

and then I setBackgroundColor in constructor of MyLayout as Color.RED

it work

but when I set listView.setSelector(grColor); //grColor is GradientDrawable
it don't show selected color :(

I try to change background color of my view as Color.argb(50, 255, 0, 0)
now it show selected color
but it's red color + backgroundcolor(black)
it's not red :(

how to set Selector and set View backgroundcolor as Color.RED???

thanks
chidkido
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Mar 02, 2009 8:31 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 8 guests