想要在删除对话框的位置创建菜单,其中将包含打开、删除等内容,如options.Help me acc.ly。Android和Java都是新手。:)
new AlertDialog.Builder(this) .setTitle("Confirm Restore") .setMessage("Do you want to restore this File?") .setPositiveButton("OK", new DialogInterface.OnClickListener() {}
发布于 2012-04-15 19:28:25
参见http://developer.android.com/guide/topics/ui/dialogs.html的“添加列表”
发布于 2012-04-15 19:49:59
当对话框可见时,您不能显示菜单选项(按下菜单键)。
https://stackoverflow.com/questions/10165235
复制相似问题