기술참고자료/Android | 2011. 5. 6. 14:41
editor = new EditText(this);요렇게 하면 한줄로 된, 32글자까지 입력을 받을 수 있는 EditText를 만들 수 있다. ^^
editor.setSingleLine();
int maxLength = 32;
InputFilter[] filterArray = new InputFilter[1];
filterArray[0] = new InputFilter.LengthFilter(maxLength);
editor.setFilters(filterArray);
[Android] 이미지 관련 메모 (0) | 2011.05.06 |
---|---|
[Android] 우분투에 안드로이드 프레임워크 로딩 - 에러발생시 해결방법 (0) | 2011.05.06 |
QR코드의 정체를 알려주마! (0) | 2011.05.06 |
[Android] No configs match configSpec (0) | 2011.05.06 |
[Android] TextView 내용중간에 이벤트 넣기!!! (1) | 2011.05.06 |