hi

its probably extremely stupid question, but i can't move with it and
when i searched i didn't found anything relevant...

problem:

if you look to any listview api demos from samples you will see that
1) when orange focus is over any item in list then its text changes to
black automatically
2) when you click on any item it flashes with orange

if you look to these listview api demos you will see there is no
additional code, just setting of adapter and some data.

but when i use SimpleCursorAdapter  with
android.R.layout.simple_list_item_1 in my application then if i scroll
list then this orange overlay hides text under it...all i see is
orange rectangle. why text under it doesn't change to black????

and if i use my own ListAdapter based on SimpleCursorAdapter then i
will not get this orange flash when item is clicked on.

why???? i have no idea what is wrong, how come that code copied from
api demo to my code starts to behave differently? in xml file i don't
have anything special set for listview, just its dimensions are not
fill_parent but based on weight=1.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to