85chong

  • 홈
  • 태그
  • 방명록

Android Study 111

TextView 문자열, 클래스에서 원하는 부분만 스타일 변경하여 적용시키기

안드로이드의 TextView는 기본적으로 xml을 사용해서 색상과 문자열을 넣고, 수정할 수 있다.ex_1) * @color 는 res > values > coloors.xml 파일을 생성해서 사용함 위와같이 기본적으로 xml 에서 변경 할수 있다. 그리고 아래와 같이 클래스에서 변경하는 방법도 있다. ex_2)TextView tv_1 = (TextView)findViewById(R.id.tv_1);tv_1.setText("테스트");tv_1.setTextColor(getResources().getColor(R.color.color_e90000)); 위와같이 할때에는 "테스트"글자를 통째로 한가지 색상만 가능하다. 아래의 Html 코드를 사용하여 안드로이드 클래스에서 적용하면 테, 스, 트 글자를 각각 ..

Android Study 2019.01.02
이전
1 ··· 9 10 11 12
다음
더보기
프로필사진

85chong

#Challenge #Analysis #Record #Upgrade

  • 분류 전체보기 (213)
    • Kotlin Study (18)
    • JAVA Study (9)
    • Swift Study (3)
    • Android Study (111)
    • iOS Study (9)
    • illustrator (4)
    • Git Study (8)
    • Good Sentence (3)
    • MAC Book Menual (2)
    • Exception Study (13)
    • Etc (8)
    • CrossPlatform (1)
    • iOS Reject Case (1)
    • MyMemo (1)
    • HotKeys (3)
    • Python (7)

Tag

drawableEnd, Android, ios 12.4, android4.1.1, firebase, the following depencies on the complile classpath, apk, res layout, crashlytics, drawableStart, java, Xcode 12.5, TextView, classpath are found to contain annotation processor, layout하위폴더, nestedscrollview, bluetooth receiver, Kotlin, androidstudio4.1.1, apple login,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바