Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Basha chris95x8

View GitHub Profile
View UIActivity.java
package com.materialdesign.chris.materialdesignexperimenting;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.view.ViewAnimationUtils;
@chris95x8
chris95x8 / CubicBezierInterpolator.java
Created Dec 12, 2014
Bunch of interpolators for awesome animations in Android!
View CubicBezierInterpolator.java
import android.graphics.PointF;
import android.view.animation.Interpolator;
/**
* From https://github.com/codesoup/android-cubic-bezier-interpolator
* Derived from: https://github.com/rdallasgray/bez
*/
public class CubicBezierInterpolator implements Interpolator {
@chris95x8
chris95x8 / build.gradle
Created Oct 28, 2014
Extended toolbar with two floating-label edit texts. The layout was made according to this image from the Material Design guidelines: http://i.imgur.com/x8QsuxU.png The layout below looks like this: http://i.imgur.com/8sOTv7h.png
View build.gradle
dependencies {
compile 'com.android.support:appcompat-v7:21.+'
compile 'com.wrapp.floatlabelededittext:library:0.0.5'
}