Develop
2016.10.21 11:25

[android] 초간단 얼럿 (AlertDialog)

Views 809 Votes 0 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. [io] Apple Watch, Today Extension 앱ID 설정

  2. [ios] Did UIScrollView End Scrolling?

  3. [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Swift)

  4. [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Objective-C)

  5. [js] AngularJS 란?

  6. [php] 한글 문자열 자르기 (utf-8)

  7. [c] 한글 문자열 출력

  8. [ios] NavigationController 에서 왼쪽(back) 버튼 후킹하기

  9. [ios] ViewController Push할 때 애니메이션 효과

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

  11. [c] 기막힌 정렬 코드 ㅋㄷ

  12. [ios] 상위 ViewController 가져오기

  13. [ios] 최상위 ViewController 가져오기

  14. DDay Memo 1.9.4 소스코드

  15. [ios] How to set up clang formatter

  16. [ios] SBCampanion App 초안

Board Pagination Prev 1 5 6 7 8 9 ... 53 Next
/ 53