안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요
AlertDialog에서 설정한 NegativeButton을 특정 상황일 때 비활성화 (예:Button.setEnable(false) ) 처리 하려고 하는데요.
이리저리 찾아봤는데 안되네요.
AlertDialog에서는 방법이 없을까요?
Dialog runningDialog = new AlertDialog.Builder(this)
.setTitle(getString(R.string.???_settings))
.setView(dialogView)
.setNegativeButton(R.string.???_settings_button, new DialogInterface.OnClickListener()
{
public void onClick(DialogInterface dialog, int whichButton)
{
......
}
}).create();
AlertDialog에서 설정한 NegativeButton을 특정 상황일 때 비활성화 (예:Button.setEnable(false) ) 처리 하려고 하는데요.
이리저리 찾아봤는데 안되네요.
AlertDialog에서는 방법이 없을까요?
Dialog runningDialog = new AlertDialog.Builder(this)
.setTitle(getString(R.string.???_settings))
.setView(dialogView)
.setNegativeButton(R.string.???_settings_button, new DialogInterface.OnClickListener()
{
public void onClick(DialogInterface dialog, int whichButton)
{
......
}
}).create();



