Develop
2016.10.21 11:25
[android] 초간단 얼럿 (AlertDialog)
Views 948 Comment 0
# 초간단 alert 구문 ㅋㅋ
new AlertDialog.Builder(this) .setTitle("3G/LTE 데이터 이용 확인") .setMessage("이동통신망을 이용하여 웹툰을 보면 별도의 ㄷ이터 통화료가 발생할 수 있습니다.") .setNegativeButton("취소", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { // do nothing } }) .setPositiveButton("확인", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { // continue with delete } }) .setIcon(android.R.drawable.ic_dialog_alert) .show();
No. | Category | Subject | Author | Date | Views |
---|---|---|---|---|---|
5 | Develop | [ios] Facebook Cache 갱신하는 함수 | hooni | 2017.02.27 | 1332 |
» | Develop | [android] 초간단 얼럿 (AlertDialog) | hooni | 2016.10.21 | 948 |
3 | Develop | [matlab] 정보은닉 스테가노그래피(Steganography) 수업 | hooni | 2016.10.03 | 798 |
2 | Develop | [ios][swift] 초간단 카달로그 앱 (Catalog App) | hooni | 2016.06.27 | 7461 |
1 | Develop | [unix] 로그파일 정리 쉘스크립트 | hooni | 2014.02.19 | 10886 |