Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ buildscript {
}
}

allprojects {
repositories {
google()
jcenter()

}
}

task clean(type: Delete) {
delete rootProject.buildDir
}
3 changes: 1 addition & 2 deletions clickshrinkeffect/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 28
versionCode 2
versionName "2.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
Expand All @@ -25,6 +23,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
namespace 'com.realpacific.clickshrinkeffect'

}

Expand Down
3 changes: 1 addition & 2 deletions clickshrinkeffect/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.realpacific.clickshrinkeffect"/>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" />
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class ClickShrinkEffect(view: View) {
when (event.action) {
MotionEvent.ACTION_DOWN -> buildShrinkAnimator()?.start()
MotionEvent.ACTION_UP -> buildGrowAnimator()?.start()
MotionEvent.ACTION_CANCEL -> buildGrowAnimator()?.start()
}
return@setOnTouchListener false
}
Expand Down