On Jan 22, 12:25 am, Mark Nuetzmann mark.nuetzm...@gmail.com wrote:
The Android settings activity does exactly what I want... By default
the text is WHITE and when the listitem is in a selected state the
text changes color to BLACK... How did you do that?
hi,
i think you should see
no problem. so, how do I how do I simply change the color of the text
for a textview when the item is selected? I obvisouly cannot use a
focus change listener. I also cannot add the code to my adpater
because it is only called when the view is needed and I see no way to
call onInvalidated() to
Selected items in a listview are in the selected state, not in the
focused state. You can use state drawables to achieve this.
On Thu, Jan 21, 2010 at 2:47 PM, Mark Nuetzmann
mark.nuetzm...@gmail.com wrote:
no problem. so, how do I how do I simply change the color of the text
for a textview
I understand how to do that if all I wanted was to change the look of
the background for the selected items in the list. However I do not
see how a statelist drawable will help me in this case. Each item in
the list is a RelativeLayout that contains an image and two
textviews. The textviews
The Android settings activity does exactly what I want... By default
the text is WHITE and when the listitem is in a selected state the
text changes color to BLACK... How did you do that?
On Jan 21, 5:03 pm, Mark Nuetzmann mark.nuetzm...@gmail.com wrote:
I understand how to do that if all I
5 matches
Mail list logo