Skip to content

Commit

Permalink
Library: 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xiphirx committed Oct 13, 2016
1 parent 9b355f5 commit 76d5c89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ TapTargetView is distributed using [jcenter](https://bintray.com/keepsafesoftwar
}
dependencies {
compile 'com.getkeepsafe.taptargetview:taptargetview:1.3.0'
compile 'com.getkeepsafe.taptargetview:taptargetview:1.4.0'
}
```

Expand All @@ -39,12 +39,17 @@ TapTargetView.showFor(this, // `this` is an Activity
// All options below are optional
.outerCircleColor(R.color.red) // Specify a color for the outer circle
.targetCircleColor(R.color.white) // Specify a color for the target circle
.textColor(R.color.blue) // Specify a color for text
.titleTextSize(20) // Specify the size (in sp) of the title text
.titleTextColor(R.color.white) // Specify the color of the title text
.descriptionTextSize(10) // Specify the size (in sp) of the description text
.descriptionTextColor(R.color.red) // Specify the color of the description text
.textColor(R.color.blue) // Specify a color for both the title and description text
.textTypeFace(Typeface.SANS_SERIF) // Specify a typeface for the text
.dimColor(R.color.black) // If set, will dim behind the view with 30% opacity of the given color
.drawShadow(true) // Whether to draw a drop shadow or not
.cancelable(false) // Whether tapping outside the outer circle dismisses the view
.tintTarget(true) // Whether to tint the target view's color
.transparentTarget(false) // Specify whether the target is transparent (displays the content underneath)
.icon(Drawable), // Specify a custom drawable to draw as the target
new TapTargetView.Listener() { // The listener can listen for regular clicks, long clicks or cancels
@Override
Expand Down
4 changes: 2 additions & 2 deletions taptargetview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'com.jfrog.bintray'

def libname = 'TapTargetView'
group = 'com.getkeepsafe.taptargetview'
version = '1.3.0'
version = '1.4.0'
description = 'An implementation of tap targets from the Material Design guidelines for feature discovery'

android {
Expand All @@ -13,7 +13,7 @@ android {

defaultConfig {
minSdkVersion 14
versionCode 4
versionCode 5
versionName project.version
}
buildTypes {
Expand Down

0 comments on commit 76d5c89

Please sign in to comment.