daily-story
반응형
  • 입력방식 (EditText만 사용 가능)
    • android:singleLine 한 라인으로만 표현하며 스크롤 및 개행이 불가함.
    • android:digits 유효 글자 제한.
    • android:numeric 'integer' 숫자, 'signed' 부호, 'decimal' 소수점
    • android:phoneNumber 전화번호.
    • android:password 비밀번호.
    • android:capitalize 'characters' 모두 대문자, 'words' 첫 문자만 대문자, 'sentences' 문장의 첫 글자만 대문자로 표현.
  • 초첨
    • android:selectAllOnFocus 선택 시 전체 선택.
    • android:cursorVisible 'true', 'false' 커서 보기.
  • 편집
    • android:ellipsize 'android:singleLine'에만 적용, 'start' , 'middle', 'end', 'marquee'
    • android:marqueeRepeatLimit 'android:singleLine'에만 적용, 'integer' 기본 3, 'marquee_forever' 무한 반복.
  • 링크
    • android:autoLink 'email', 'map', 'web', 'phone', 'all'
  • 설정
    • android:textStyle 'bold', 'italic', 'bolditalic'
    • android:shadowColor 그림자 색상.
    • android:shadowDx 그림자의 x축 거리.
    • android:shadowDy 그림자의 y축 거리.
    • android:shadowRadius 그림자 크기.
    • android:textScaleX 장평.
    • android:lineSpacingMultiplier 줄 간격 설정.
    • android:lineSpacingExtra 줄 간격 추가 설정.
    • android:lines 라인 설정, android:layout_height="wrap_content"일 경우 자동으로 높이가 강제 설정 됨.
    • android:minLines android:layout_height="wrap_content"일 경우 최소 line 설정.
    • android:maxLines android:layout_height="wrap_content"일 경우 최대 line 설정.
    • android:ems 수평크기를 ems기준으로 함, 글자 수 제한.
    • android:minEms android:layout_height="wrap_content"일 경우 최소 ems 설정.
    • android:maxEms android:layout_height="wrap_content"일 경우 최대 ems 설정.


반응형
profile

daily-story

@덜구

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!