티스토리 뷰
(new AlertDialog.Builder(MainActivity.this))
.setMessage("삭제할까요?")
.setPositiveButton("예", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
// Do something...
}
})
.setNeutralButton("취소", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.cancel();
}
}).create().show();
'노트 > Android' 카테고리의 다른 글
Disable spell checking (0) | 2016.08.19 |
---|---|
Don't reload application when orientation changes (0) | 2016.08.19 |
Get WebSource (0) | 2016.08.19 |
postDelayed (0) | 2016.08.19 |
TextView scroll (0) | 2016.08.19 |
댓글