Skip to content

Commit

Permalink
Add dokka plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Feb 7, 2021
1 parent 84cbf45 commit 528bb73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,18 @@ import androidx.lifecycle.LifecycleOwner
import com.skydoves.balloon.ArrowOrientation
import com.skydoves.balloon.Balloon
import com.skydoves.balloon.BalloonAnimation
import com.skydoves.balloon.BalloonSizeSpec
import com.skydoves.balloon.createBalloon

class TagBalloonFactory : Balloon.Factory() {

override fun create(context: Context, lifecycle: LifecycleOwner?): Balloon {
return createBalloon(context) {
setLayout(R.layout.layout_custom_tag)
setWidth(BalloonSizeSpec.WRAP)
setArrowSize(10)
setArrowOrientation(ArrowOrientation.BOTTOM)
setArrowPosition(0.5f)
setWidth(90)
setCornerRadius(4f)
setBackgroundColor(ContextCompat.getColor(context, R.color.white))
setBalloonAnimation(BalloonAnimation.ELASTIC)
Expand Down
1 change: 1 addition & 0 deletions progressview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'org.jetbrains.dokka'
apply from: "$rootDir/dependencies.gradle"

android {
Expand Down

0 comments on commit 528bb73

Please sign in to comment.