I need to implement - for my Android app - two user controls quite similar, and very close each other in the UI layout: a single selection control, and a multiple one.
I know the Android solution is to use a Spinner (for single selection) and a ListView (for multiple selection). I ask: is there a way to let them look more visually similar? By default, a Spinner has a down-arrow symbol on the 开发者_如何学Goright, which a ListView has not. And, the Spinner is dismissed on an item selection, while the ListView must be closed with the[back]
button on the phone.
I just don't want to confuse my user: I feel (and suppose users, too) that the attribute "single/multiple" selection doesn't account for such a different UI and usage...I do accept Raggedtoad solution: I will stick with the Android convention of using a Spinner and a ListView separately, though I find this solution quite sub-elegant... :-)
精彩评论