From b458bb1dbd6b571db97b66ff7d668f78796110c8 Mon Sep 17 00:00:00 2001 From: skydoves Date: Sat, 10 Aug 2019 01:47:23 +0900 Subject: [PATCH] released version 1.0.2 --- README.md | 2 +- app/src/main/java/com/skydoves/balloondemo/BalloonUtils.kt | 4 ++-- app/src/main/res/values/colors.xml | 1 + dependencies.gradle | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c7b89bd1..343b5cf8 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ allprojects { And add a dependency code to your **module**'s `build.gradle` file. ```gradle dependencies { - implementation "com.github.skydoves:balloon:1.0.1" + implementation "com.github.skydoves:balloon:1.0.2" } ``` diff --git a/app/src/main/java/com/skydoves/balloondemo/BalloonUtils.kt b/app/src/main/java/com/skydoves/balloondemo/BalloonUtils.kt index c039ac9c..ec67b695 100644 --- a/app/src/main/java/com/skydoves/balloondemo/BalloonUtils.kt +++ b/app/src/main/java/com/skydoves/balloondemo/BalloonUtils.kt @@ -46,7 +46,7 @@ object BalloonUtils { fun getProfileBalloonForViewHolder(baseContext: Context, lifecycleOwner: LifecycleOwner): Balloon { return Balloon.Builder(baseContext) - .setText("You can edit your profile now!") + .setText("This is your new content.") .setArrowSize(10) .setWidthRatio(0.75f) .setHeight(63) @@ -55,7 +55,7 @@ object BalloonUtils { .setArrowOrientation(ArrowOrientation.TOP) .setTextColor(ContextCompat.getColor(baseContext, R.color.white_87)) .setIconDrawable(ContextCompat.getDrawable(baseContext, R.drawable.ic_edit)) - .setBackgroundColor(ContextCompat.getColor(baseContext, R.color.skyBlue)) + .setBackgroundColor(ContextCompat.getColor(baseContext, R.color.yellow)) .setOnBalloonDismissListener { Toast.makeText(baseContext, "dismissed", Toast.LENGTH_SHORT).show() } .setDismissWhenTouchOutside(true) .setBalloonAnimation(BalloonAnimation.ELASTIC) diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 43f5715d..a48b5054 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -11,4 +11,5 @@ #ddffffff #edf8f8f8 #57A8D8 + #FDD835 diff --git a/dependencies.gradle b/dependencies.gradle index 72bc3e76..c330953a 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,8 +1,8 @@ ext.versions = [ minSdk : 16, compileSdk : 29, - versionCode : 2, - versionName : '1.0.1', + versionCode : 3, + versionName : '1.0.2', gradleBuildTool : '3.4.2', spotlessGradle : '3.23.1',