mscwd01 wrote: > Hey, > > I would like to change the font colour of text in each ListView row > when the row is highlighted. I.e. when the row is not highlighted > leave the font black, however when it is highlighted change the font > colour to white. > > Is there a method which allows one to get the ID of the currently > selected row?
getSelectedItem(), getSelectedItemId(), and getSelectedView() should all work. For your case, getSelectedView() may be the best of the three. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---