Skip to content

Instantly share code, notes, and snippets.

View ymow's full-sized avatar
:octocat:
OoOoOoOctoCat

Ymow Wu ymow

:octocat:
OoOoOoOctoCat
View GitHub Profile
@ymow
ymow / java
Last active August 29, 2015 14:25 — forked from bng86/java
glide circle
package tw.andyang.memolock.utils;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
import com.bumptech.glide.load.resource.bitmap.BitmapTransformation;
public class MusicFragment extends Fragment implements Handler.Callback {
/**
* New Instance
*/
public static MusicFragment newInstance() {
fragment = new MusicFragment();
Bundle args = new Bundle();
fragment.setArguments(args);
return fragment;