Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Martz martzcodes

View GitHub Profile
@Jogan
Jogan / FloatingActionButton.java
Last active Jun 24, 2022
Implementation of Android L's floating action button pattern. API 14+
View FloatingActionButton.java
package your_package;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;