일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- ShapeableImageView
- cancellationException
- Product Flavor
- collectLatest
- hotStream
- coroutinescope
- monotone stack
- flowon
- withContext
- 안드로이드
- 릴리즈 키해시
- coldStream
- ServerDrivenUI
- conflate
- app-distribution
- Algorithm
- java
- Advanced LCA
- Kotlin
- coroutine
- 백준2309
- SDUI
- Android
- 백준
- coroutinecontext
- Next Challenge
- Flow
- google play console
- TOSS 과제
- KAKAO
Archives
- Today
- Total
목록ShapeableImageView (1)
루피도 코딩한다
[Android] ShapableImageView radius설정하기
진행중인 프로젝트에서 ImageView의 radius를 6dp 설정해야했다. 해당 프로젝트에서는 'Glide'를 활용하여 이미지를 표시해 주었다. url을 활용한 이미지는 radius가 정상적으로 적용이 되었으나, placeHolder에 넣어준 dummy img는 radius가 적용이 안되었다는 디자인 QA가 들어왔다..! HTML 삽입 미리보기할 수 없는 소스 기존에 glide를 활용한 코드는 아래와 같다. @BindingAdapter("app:ogImage") fun ImageView.setOgImage(url: String?) { Glide.with(context) .load(url) .transform(CenterCrop(), RoundedCorners(px(6))) .placeholder(R.d..
Android
2022. 11. 27. 02:34