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
- 포켓볼
- 보라카이
- Check
- 포켓몬 GO
- LG유플러스
- IOS
- error
- UITableView
- push
- 해몽
- 샘플
- Xcode
- 앱스토어
- 신도림
- loop
- 스마트폰
- 페이백
- Bitcode
- swift
- 공략
- setting
- 얻는법
- GCD
- afterdelay
- Example
- 아이폰7
- simulator
- 신도림 테크노마트
- UIView
- swift3
Archives
- Today
- Total
도래울
Android , EditText ,TextView 속성 정리 본문
EditText 속성
(수평 길이 입력)
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|email"
web형식 or email 형식이면 링크
android:text="강제로 다섯줄을 차지한다.\n둘\n셋\n넷\n다섯"
android:lines="5"
android:hint="input your name"
EditText에 힌트주기
textview 속성
android:textScaleX="2.0"
wide text
android:textScaleX="0.5"
Narrow Text
'개발 > Android' 카테고리의 다른 글
[JAVA] [Android] XML DOM Tree 구조 파악하기 (0) | 2016.02.05 |
---|---|
SurfaceView, 간단한 예제로 이해하기^^ (0) | 2016.02.05 |
안드로이드, 토스트 ,메세지 (0) | 2016.02.05 |
안드로이드 , Layout 정리 (0) | 2016.02.05 |
안드로이드 TextView 의 Text에서 줄바꿈 (3) | 2016.02.05 |
Comments