开发者

Dismiss spinner control popup if you don't want an item in android

I have an android spinner which I call via the performClick method to show a list of items (the actual control is hidden from the user and is called from a checkbox, too complex to explain why I have done it this way).

If I do not want an item in the list, how can I dismiss the popup by clicking on the black area?

Does this make sense? :/

Edit: Sorry, forgot to mention that the users will not be able to operate the bottom buttons (device is going to be galaxy tab) as they will be covered up with protective 开发者_如何学Golayer due as they will be outdoors.


usually such a control is dismissed using the back key in the android applications. So I would suggest that you find a way to do it the same way on your control.


'Esc' button should do the same job..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜