您的位置:首页 > 其它

AlertDialog

2015-07-15 12:13 477 查看
new AlertDialog.Builder(MainActivity.this)
.setTitle("Difficulty")
.setItems(
new String[]{"easy", "medium", "hard"},
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int idx) {
//...
}
}
)
.show();


本文出自 “frank_zfh” 博客,请务必保留此出处http://zengfanhong.blog.51cto.com/8894077/1674865
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: