Thursday, November 18, 2010

[android-developers] List child item focus change

Hi All,

I have struck with the below issue.

I have a list view which contains different numbers and i have a
button below with the name "Call".
The expected spec is to change the button background to blue, only if
user clicks on list item,
and if user clicks on some other views, i need to change the button
background to white.

My work around for this issue:

I have set onfocusChangeListener() for the list live,
but onFocusChanged() is getting called if next view gets the focus.

Expected result:

1) Background of the button should change to blue if user clicks on
list child item.
2) Background of the button should change to white if user clicks on
other views.

Can any one help to resolve this issue.

Thanks,
Ajj

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate