85chong

  • 홈
  • 태그
  • 방명록

HTML 1

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

1. strings.xml 준비 Your email : %1$s 2. color.xml 준비 #FA8428 3. textview 에 적용 val tempEmail = "aaabbb@email.com" /* 변경시킬 text string 값, html 색상 적용 */ val convetHtmlText = "${tempEmail}" /* 끼워넣을 string 가져오기 */ val tmepValue = String.format(resources.getString(R.string.test_content), convetHtmlText) /* Html string 형식 인식되게 변환 */ val spannedText = HtmlCompat.fromHtml(tmepValue, HtmlCompat.FROM_HTML_M..

Android Study 2023.08.17
이전
1
다음
더보기
프로필사진

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

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

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

티스토리툴바