SendbirdUIKit
3.21.1
SendbirdUIKit
/
com.sendbird.uikit.utils
/
DrawableUtils
/
createOvalIcon
create
Oval
Icon
@
NonNull
open
fun
createOvalIcon
(
@
NonNull
context
:
Context
,
@
ColorRes
color
:
Int
)
:
Drawable
@
NonNull
open
fun
createOvalIcon
(
@
NonNull
context
:
Context
,
@
ColorRes
backgroundColor
:
Int
,
@
DrawableRes
iconRes
:
Int
,
@
ColorRes
iconTint
:
Int
)
:
Drawable
@
NonNull
open
fun
createOvalIcon
(
@
NonNull
context
:
Context
,
@
ColorRes
backgroundColor
:
Int
,
backgroundAlpha
:
Int
,
@
DrawableRes
iconRes
:
Int
,
@
ColorRes
iconTint
:
Int
)
:
Drawable
@
NonNull
open
fun
createOvalIcon
(
@
NonNull
context
:
Context
,
@
ColorRes
backgroundColor
:
Int
,
backgroundAlpha
:
Int
,
@
DrawableRes
iconRes
:
Int
,
@
ColorRes
iconTint
:
Int
,
inset
:
Int
)
:
Drawable