Tuesday, October 25, 2011

[android-developers] Re: I have a spinner as the header of listview, the dialog cannot popup when touching spinner after touchmodechanged.

I don't know the cause, but I fix it by setOnTouchListener to run
spinner.performClick() to pop up the dialog.
like:
onTouch() {
if MotionEvent.UP {
performClick() ;
return true ;
}
return false;
}


--
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