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 |
Tags
- navigation component
- shotcut
- LOG
- onReceivedSslError
- Git
- circlecrop
- BottomSheetDialog
- ChromeCustomTab
- skipcollapsed
- room
- kdoc-generator
- Plugins
- ExifInterface
- notification setting
- App Startup
- Blinking
- webview
- notification bar
- application
- ActivityResultContracts
- 403 Error
- itemAnimator
- Android
- datastore
- notification
- 이미지 gps
- jsontokotlinclass
- onResume
- requestPermission
- prettyJson
Archives
- Today
- Total
목록circlecrop (1)
Debbi Story
Glide circle 이미지에 테두리선 그리기
fun ImageView.loadCircularImage( model: T, borderSize: Float = 0F, borderColor: Int = Color.WHITE ) { Glide.with(context) .asBitmap() .load(model) .apply(RequestOptions.circleCropTransform()) .into(object : BitmapImageViewTarget(this) { override fun setResource(resource: Bitmap?) { setImageDrawable( resource?.run { RoundedBitmapDrawableFactory.create( resources, if (borderSize > 0) { createBitma..
안드로이드/Tip
2021. 7. 6. 11:33