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