Skip to content

Instantly share code, notes, and snippets.

View knight9999's full-sized avatar
🏠
Working from home

Ken Naito knight9999

🏠
Working from home
View GitHub Profile
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.Rect;
import android.graphics.drawable.NinePatchDrawable;
import android.util.DisplayMetrics;
import java.io.BufferedInputStream;
import java.io.File;