Skip to content

Commit

Permalink
released version 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Aug 9, 2019
1 parent 5b0d4c4 commit b458bb1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/skydoves/balloondemo/BalloonUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
<color name="white_87">#ddffffff</color>
<color name="white_93">#edf8f8f8</color>
<color name="skyBlue">#57A8D8</color>
<color name="yellow">#FDD835</color>
</resources>
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit b458bb1

Please sign in to comment.