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
- itemAnimator
- notification bar
- webview
- onReceivedSslError
- shotcut
- ExifInterface
- onResume
- kdoc-generator
- Blinking
- prettyJson
- jsontokotlinclass
- notification
- datastore
- circlecrop
- App Startup
- application
- Plugins
- BottomSheetDialog
- Android
- notification setting
- Git
- requestPermission
- ChromeCustomTab
- 이미지 gps
- LOG
- ActivityResultContracts
- skipcollapsed
- 403 Error
- navigation component
- room
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