[Android] EditText 입력타입 정하기 (숫자만 입력)
XML 소스에서 다음을 추가해주면 된다. android:inputType="" 속성은 number 양수 numberSigned 양수,음수 numberDecimal 양수 소수점 java 소스상에서는.setInputType(type) 속성은 android:inputTypeThe type of data being placed in a text field, used to help an input method decide how to let the user enter text. The constants here correspond to those defined by InputType. Generally you can select a single value, though some can be combined tog..
개발/개발 자료
2013. 10. 3. 16:23