85chong

  • 홈
  • 태그
  • 방명록

TextView 2

Imagview + Textview 형태 레이아웃 만들기

- 준비물 - 1. icon_user.png (아무이미지나 상관없음) 위와 같은 형태의 레이아웃은 보통 리스트아이템 형태로 레이아웃을 만든다. 이때, 여러가지 방법중 기본방법으로 만들게 되면 아래와 같이 만들게 된다. 근데 이미지와 텍스트의 구분동작이 따로 나뉘어 있지 않다면 TextView 하나로 퉁치는 방법이 있는데, 방법은 아래와 같다. !!단 위의 방법은 이미지 사이즈를 원본 그대로 써야한다는 단점이 있다. -> 위의 방법에서 사이즈 조절 하는 방법 알아보러가기(https://85chong.tistory.com/211) - 끝 -

Android Study 2023.09.08

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • 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.

티스토리툴바