如何获取一个AlertDialog中的EditText中输入的内容
2个回答
2015-11-27
展开全部
1
2
3
4
5
6
7
8
EditText editText = new EditText(this);
new AlertDialog.Builder(this)
.setTitle("请输入")
.setIcon(a www.hbbz08.com ndroid.R.drawable.ic_dialog_info)
.setView(editText )
.setPositiveButton("确定", null)
.setNegativeButton("取消", null)
.show();
1
2
3
EditText texta = new EditText(this);
new AlerDialog.Builder(this).setIcon(XXX).XXX…….setView( texta );
String Thing = texta.getText();
2
3
4
5
6
7
8
EditText editText = new EditText(this);
new AlertDialog.Builder(this)
.setTitle("请输入")
.setIcon(a www.hbbz08.com ndroid.R.drawable.ic_dialog_info)
.setView(editText )
.setPositiveButton("确定", null)
.setNegativeButton("取消", null)
.show();
1
2
3
EditText texta = new EditText(this);
new AlerDialog.Builder(this).setIcon(XXX).XXX…….setView( texta );
String Thing = texta.getText();
2015-11-27
展开全部
PrintPreviewDialog pPDlg;
exec_prefix='NONE'PACKAGE='libevent'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
exec_prefix='NONE'PACKAGE='libevent'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询