Contents

Develop
2016.10.21 11:25

[android] 초간단 얼럿 (AlertDialog)

조회 수 811 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

# 초간단 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. [asem] CMOS 패스워드 알아내기.. 소스..

  2. [api] 인스타그램에서 최신 이미지 가져오기 (Using Instagram API)

  3. [api] 인스타그램 API Access_Token 발급 방법 (Instagram API)

  4. [apache2] Redirect HTTP to HTTPS

  5. [android]개발 가이드 및 한글화 문서

  6. [android][ios] 알림(Notification) 기능에 대한 원리와 구현 방안 (APNS포함)

  7. [android] 화면 전환(가로/세로)시 설정

  8. [android] 해상도 관련 팁 (dip -> pixel 변환)

  9. [android] 코드에서 문자열로 Resource 가져오기

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

  11. [android] 초간단 HTTP, POST 전송 샘플

  12. [Android] 제스처 자료..

Board Pagination Prev 1 ... 85 86 87 88 89 90 91 92 93 94 ... 98 Next
/ 98