Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Tags
- PHP GCM
- 따라다니는 배너
- synology
- XMLHTTP
- ASP
- ajax
- RTL88x2BU
- euc-kr
- javascript
- submit
- form
- Injection
- replace
- DS718+
- disabled
- lsusb
- 무선랜카드
- println
- utf-8
- 크로스 컴파일
- AC1300
- Getrows
- SQL Injection
- include
- jQuery
- jquery 레이어
- FileSystemObject
- 커널
- readonly
- 시놀로지
Archives
- Today
- Total
아는 것이 좋은 것이다.
[Android] 간단한 다이얼로그 본문
CharSequence[] items = { "aaaaaa", "bbbbbb", "cccccc" };
AlertDialog.Builder builder = new AlertDialog.Builder(mContext);
// builder.setTitle("다이얼로그 타이틀");
builder.setItems(items, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int item) {
Toast.makeText(this, items[item], Toast.LENGTH_LONG).show();
}
});
AlertDialog alert = builder.create();
alert.show();
'Android' 카테고리의 다른 글
[Android] 자동완성 예제 (0) | 2014.11.03 |
---|---|
[Android] 로그캣 사용하기 (로그찍기) (0) | 2014.11.01 |
[Android] Activity 이동시 값 넘기기 (0) | 2014.10.27 |
[Android] activity 이동(Intent) (0) | 2014.10.25 |
[Android] json 출력 (0) | 2014.10.18 |
Comments