Skip to content

Instantly share code, notes, and snippets.

View bonnyfone's full-sized avatar

Stefano Bonetta bonnyfone

View GitHub Profile
@danielgomezrico
danielgomezrico / build.gradle
Last active September 5, 2016 11:44
Gradle / Android tasks to run findbugs and pmd static code checkers after assembleDebug. thanks to https://gist.github.com/rciovati/8461832
// How to use it inside any gradle build
apply from: "quality.gradle"
@methodin
methodin / Rotate3dAnimation.java
Last active April 28, 2021 07:25
3d rotation animation for Android
/*
Original code found at:
https://code.google.com/p/android-stocker/source/browse/trunk/src/com/twofuse/stocker/Rotate3dAnimation.java?r=2
Use (in set):
Rotate3dAnimation skew = new Rotate3dAnimation(20, 0, 0, 0, 0, 0);
set.addAnimation(skew);
animation = new TranslateAnimation(0, 0, 0, 0, Animation.RELATIVE_TO_SELF, 0.5f, 0, 0);
set.addAnimation(animation);