Contents

Develop
2016.10.21 11:25

[android] 초간단 얼럿 (AlertDialog)

Views 939 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

# 초간단 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();



?

  1. [android] 초간단 얼럿 (AlertDialog)

  2. [ios] 문자열로 함수 실행하기 (eval 함수처럼)

  3. [ios] Thread Loop 내에서 UI 업데이트 방법

  4. [ios] URL 랜딩 속도(OpenURL 10초 정지되는) 이슈

  5. [linux] CentOS Apache 웹서버에 HTTPS 적용

  6. [ios] GMT Date와 Local Date 변환하기

  7. [js] e.stopPropagation() VS e.preventDefault ()

  8. [ios] 비동기 블럭 코드 예제

  9. [Android Error] The number of method references in a .dex file cannot exceed 64K

  10. [c] 파일명 또는 특정 패턴을 적용

  11. 캘리포니아 운전면허 족보

  12. 리팩토링 계획안

Board Pagination Prev 1 ... 62 63 64 65 66 67 68 69 70 71 Next
/ 71