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 |
Tags
- 프로그래머스
- 코드포스
- Codeforces
- livedata
- architecture
- android
- 쿠링
- Python
- MiTweet
- AWS
- TEST
- Hilt
- androidStudio
- activity
- 암호학
- 코루틴
- 백준
- textfield
- Rxjava
- Coroutines
- relay
- boj
- pandas
- GitHub
- Kotlin
- Compose
- ProGuard
- Coroutine
- MyVoca
- Gradle
Archives
- Today
- Total
목록Icon (2)
이동식 저장소
(내가) 자주 실수하는 ``Icon``과 ``Image``! 어떻게 다른지 비교해 보자. Icon 주로 단색 아이콘을 보여줄 때 사용한다. Material 아이콘 또는 벡터 drawable 등을 사용할 수 있으며, 아이콘에 적절한 색깔을 tint로 입혀 사용한다. 색깔을 입히고 싶지 않다면 ``Color.Unspecified``를 사용하면 된다. @Composable fun Icon( painter: Painter, contentDescription: String?, modifier: Modifier = Modifier, tint: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current) ) ``contentDescription`..
Primary/Compose
2024. 4. 7. 14:40