Skip to content

Instantly share code, notes, and snippets.

Amish Patel payraj143

View GitHub Profile
View NinePatchBitmapFactory.java
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.NinePatch;
import android.graphics.Rect;
import android.graphics.drawable.NinePatchDrawable;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
/**
You can’t perform that action at this time.