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 - Listview Styles Help (Urgent)

Listview Styles Help (Urgent)

Put your problem here if it does not fit any of the other categories.

Listview Styles Help (Urgent)

Postby zeeshan » Fri Mar 14, 2008 5:51 am

Hello I want to create a border listview how can i do that ?? any idea?

how to change text color of listview item on selection ?

like

i have a listview

A
B
C
when i select its A would be in white color ??
zeeshan
Experienced Developer
Experienced Developer
 
Posts: 68
Joined: Mon Mar 03, 2008 6:10 am

Top

Postby erbedo » Fri Mar 14, 2008 12:36 pm

You need to change the listSelector item.

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. android:listSelector = "@drawable/list_selector"
Parsed in 0.000 seconds, using GeSHi 1.0.8.4


That's it :)
erbedo
Junior Developer
Junior Developer
 
Posts: 22
Joined: Thu Mar 13, 2008 9:39 pm

Postby zeeshan » Fri Mar 14, 2008 12:44 pm

i want to change text color how can i do that?
zeeshan
Experienced Developer
Experienced Developer
 
Posts: 68
Joined: Mon Mar 03, 2008 6:10 am

Postby erbedo » Fri Mar 14, 2008 2:20 pm

Related to android:listSelector, you have
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. setSelector(Drawable)
Parsed in 0.011 seconds, using GeSHi 1.0.8.4
What you need to do is simply pass a drawable id to that method.

HTH
erbedo
Junior Developer
Junior Developer
 
Posts: 22
Joined: Thu Mar 13, 2008 9:39 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 25 guests