Skip to content

Instantly share code, notes, and snippets.

Kishore kishorecs

  • India
Block or report user

Report or block kishorecs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kishorecs
kishorecs / NinePatchBitmapFactory.java
Created Jun 5, 2016 — forked from briangriffey/NinePatchBitmapFactory.java
Create 9-patches simlar to - (UIImage *)resizableImageWithCapInsets:(UIEdgeInsets)capInsets
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.