Skip to content

Commit 6fda15e

Browse files
committed
Small fix in sample project.
1 parent 0b8d98e commit 6fda15e

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

sample/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@ android {
2121
sourceCompatibility JavaVersion.VERSION_1_7
2222
targetCompatibility JavaVersion.VERSION_1_7
2323
}
24-
dexOptions {
25-
incremental true
26-
}
2724
}
2825

2926
dependencies {
3027
compile fileTree(dir: 'libs', include: ['*.jar'])
31-
compile 'com.android.support:appcompat-v7:23.2.1'
32-
compile 'com.android.support:design:23.2.1'
28+
compile 'com.android.support:appcompat-v7:23.4.0'
29+
compile 'com.android.support:design:23.4.0'
3330
compile project(':library')
3431
}

sample/src/main/java/io/github/douglasjunior/androidSimpleTooltip/sample/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public void onShow(SimpleTooltip tooltip) {
166166
.modal(true)
167167
.animated(true)
168168
.animationDuration(2000)
169-
.animationPadding((int) SimpleTooltipUtils.pxFromDp(50))
169+
.animationPadding(SimpleTooltipUtils.pxFromDp(50))
170170
.contentView(R.layout.tooltip_custom, R.id.tv_text)
171171
.build();
172172

0 commit comments

Comments
 (0)