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 | 29 | 30 |
| 31 |
Tags
- Gradle
- Hilt
- textfield
- relay
- 코드포스
- Rxjava
- 백준
- MiTweet
- androidStudio
- AWS
- 프로그래머스
- Coroutines
- android
- pandas
- livedata
- GitHub
- Compose
- activity
- 쿠링
- 암호학
- Kotlin
- ProGuard
- boj
- Python
- Codeforces
- TEST
- 코루틴
- architecture
- Coroutine
- MyVoca
Archives
- Today
- Total
목록image (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