File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
app/src/main/kotlin/com/skydoves/balloondemo/factory Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 17
17
package com.skydoves.balloondemo.factory
18
18
19
19
import android.content.Context
20
+ import androidx.compose.ui.graphics.Color
21
+ import androidx.compose.ui.graphics.toArgb
20
22
import androidx.lifecycle.LifecycleOwner
21
23
import com.skydoves.balloon.ArrowOrientation
22
24
import com.skydoves.balloon.ArrowPositionRules
@@ -40,6 +42,7 @@ class ProfileBalloonFactory : Balloon.Factory() {
40
42
setArrowPosition(0.5f )
41
43
setCornerRadius(6f )
42
44
setElevation(6 )
45
+ setBalloonStroke(color = Color .White .toArgb(), thickness = 6f )
43
46
setBackgroundDrawableResource(R .drawable.background_gradient)
44
47
setArrowColorMatchBalloon(true )
45
48
setBalloonAnimation(BalloonAnimation .CIRCULAR )
You can’t perform that action at this time.
0 commit comments