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 | 31 |
Tags
- jquery 레이어
- form
- include
- DS718+
- disabled
- PHP GCM
- 무선랜카드
- 크로스 컴파일
- utf-8
- euc-kr
- Getrows
- ajax
- ASP
- SQL Injection
- replace
- println
- javascript
- 시놀로지
- XMLHTTP
- 커널
- RTL88x2BU
- Injection
- jQuery
- 따라다니는 배너
- readonly
- AC1300
- lsusb
- submit
- synology
- FileSystemObject
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