Java android.graphics.drawable Icon fields, constructors, methods, implement or subclass

Example usage for Java android.graphics.drawable Icon fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.graphics.drawable Icon.

The text is from its open source code.

Method

IconcreateWithAdaptiveBitmap(Bitmap bits)
Create an Icon pointing to a bitmap in memory that follows the icon design guideline defined by AdaptiveIconDrawable .
IconcreateWithBitmap(Bitmap bits)
Create an Icon pointing to a bitmap in memory.
IconcreateWithResource(Context context, @DrawableRes int resId)
Create an Icon pointing to a drawable resource.
IconcreateWithResource(Resources res, @DrawableRes int resId)
Version of createWithResource that takes Resources.
IconcreateWithResource(String resPackage, @DrawableRes int resId)
Create an Icon pointing to a drawable resource.