Contents

Develop
2016.10.21 11:25

[android] 초간단 얼럿 (AlertDialog)

조회 수 820 댓글 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. git 브런치 배우기 (링크)

  2. [mac] 컨텍스트(Context) 메뉴 "다음으로 열기" 내용 정리

  3. 영어의 12 시제 (The twelve tenses of English)

  4. [ios] App States

  5. [ios] Background 에서 네트워크 사용

  6. [ios] 소소한 팁 (Rect,Point,Path,URL 등)

  7. [ios] libxml/tree.h file not found

  8. [ios] UI컨트롤러 샘플코드

  9. [ios] 최신 UI 모음.. (나중에 정리할 것)

  10. 아이 훌레시 작업중 ㅋㅋ

  11. [web] 제로보드 XE 템플릿에서 if문에 대해서 알아봅시다

  12. 베지어 곡선 (Bezier curve)

Board Pagination Prev 1 ... 60 61 62 63 64 65 66 67 68 69 ... 98 Next
/ 98