views:

46

answers:

1

Is there any way i can make my listactivity (rather listview) highlight the List Item when it is clicked (pressed) upon? (...and remain highlighted) The default behavior, simply highlights the item for a moment, and it gradually fades to black...

Currently, the highlighting only happens when we use the DPad...

It'd be ideal if atleast one list item is "highlighted" at all times.

Worst case scenario, i may have to keep track of the "last clicked item" (by default the first) and change its background or something...but i was hoping there was an easier way...

Thanks in advance! :)

A: 
Roman Nurik
I'm working on a SMS Application, i've made a couple of listactivities that display Messages from Inbox,Outbox,Drafts,etc...For each activity, there's a context menu that has "Forward/Reply/Delete" buttons on it...I want the menu to popup when the user clicks on a message (listitem)...and i'd like some sort of indicator so the user knows which listitem is currently selected...
st0le