Android: How to create popup with choices
I want to do something like this: user clicks on a button "Choose color", and a simple popup with e.g. 5 colors appears. I could do this with PopupWindow and inner ListView, but is there a simpler solution, like a specific widget for this?
How it should look开发者_C百科 like:

Use AlertDialog.Builder and supply an Adapter via setAdapter() that generates your rows.
加载中,请稍侯......
精彩评论