Develop
2016.10.21 11:25
[android] 초간단 얼럿 (AlertDialog)
Views 944 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 | [android] 점심 해결 앱 소스 코드 ㅋㅋ | hooni | 2013.04.23 | 76502 |
4 | Develop | [android] 단일 Thread 환경의 안드로이드에서 Handler를 사용 | hooni | 2013.04.23 | 26578 |
3 | Develop | [android] 디바이스(시뮬레이터) hosts 파일 수정하기 | hooni | 2013.04.23 | 31132 |
2 | Develop | [android] Canvas를 이용해 이미지 확대/축소 하기 | hooni | 2013.04.23 | 60799 |
1 | Develop | [android] SurfaceView를 이용한 애니메이션 ㅎㅎ | hooni | 2013.04.23 | 57778 |