Android:scrollHorizontally="true"
- EditText 길이를 벗어나도 옆으로 쭈욱나간다. 엔터키를 누르면 줄바꿈이 된다.
Android:singleLine="true"
- EditText 길이를 벗어나도 옆으로 쭈욱 나간다. 엔터키를 누르면 입력이 완료된다.
Android:digits="aeiou"
- a,e,i,o,u만 입력 가능
Android:numeric="integer"
- 숫자만 입력 가능
Android:numeric="decimal"
- 소수점 입력 가능
Android:phonenumber="true"
- 전화번호 입력 방식
Android:password="true"
- password 입력 방식
Android:text="selectAllonFocus"
- 전체 드래그 가능
Android:cursorvisible="true"
- 원하는 곳에서 원하는곳까지 드래그 가능
Android:autoLink="web l email"
- web형식 or email 형식이면 링크
【==== Android ===】/EditText 속성정리2011. 8. 17. 14:29